aboutsummaryrefslogtreecommitdiff
path: root/settings/vim-language-server.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 00:14:47 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 00:14:47 +0900
commite55fa57320b284eb38392a5e57b2edee27d966a5 (patch)
treeeeb85b5221af4d2136157a78146f105dde8a7bff /settings/vim-language-server.vim
parent7ecb6223a7eb1d510c3662e8ca4f7a3b1fd5b3fb (diff)
downloadvim-lsp-settings-e55fa57320b284eb38392a5e57b2edee27d966a5.tar.gz
vim-lsp-settings-e55fa57320b284eb38392a5e57b2edee27d966a5.tar.bz2
vim-lsp-settings-e55fa57320b284eb38392a5e57b2edee27d966a5.zip
root_uri patterns should be configurable
Diffstat (limited to 'settings/vim-language-server.vim')
-rw-r--r--settings/vim-language-server.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/vim-language-server.vim b/settings/vim-language-server.vim
index 58b2f8d..5f8812f 100644
--- a/settings/vim-language-server.vim
+++ b/settings/vim-language-server.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_vim_language_server
LspRegisterServer {
\ 'name': 'vim-language-server',
\ 'cmd': {server_info->lsp_settings#get('vim-language-server', 'cmd', [lsp_settings#exec_path('vim-language-server'), '--stdio'])},
- \ 'root_uri':{server_info->lsp_settings#get('vim-language-server', 'root_uri', lsp_settings#root_uri())},
+ \ 'root_uri':{server_info->lsp_settings#get('vim-language-server', 'root_uri', lsp_settings#root_uri('vim-language-server'))},
\ 'initialization_options': extend({'vimruntime': $VIMRUNTIME, 'runtimepath': &rtp}, lsp_settings#get('vim-language-server', 'initialization_options', {}), 'force'),
\ 'whitelist': lsp_settings#get('vim-language-server', 'whitelist', ['vim']),
\ 'blacklist': lsp_settings#get('vimbash-language-server', 'blacklist', []),