aboutsummaryrefslogtreecommitdiff
path: root/settings/lsp4xml.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-25 23:40:23 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-25 23:40:23 +0900
commitdd6f34e7089a8a06fbd239b8f3dba46b0074010a (patch)
treeda108eb0fb31e84fd6e93d25b9fca93a1ed196d2 /settings/lsp4xml.vim
parent0bc757a306ec6a34c495341fe2d63c867aaa9831 (diff)
downloadvim-lsp-settings-dd6f34e7089a8a06fbd239b8f3dba46b0074010a.tar.gz
vim-lsp-settings-dd6f34e7089a8a06fbd239b8f3dba46b0074010a.tar.bz2
vim-lsp-settings-dd6f34e7089a8a06fbd239b8f3dba46b0074010a.zip
Fix settings
Diffstat (limited to 'settings/lsp4xml.vim')
-rw-r--r--settings/lsp4xml.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/lsp4xml.vim b/settings/lsp4xml.vim
index 79beafe..a24a0d0 100644
--- a/settings/lsp4xml.vim
+++ b/settings/lsp4xml.vim
@@ -3,7 +3,8 @@ augroup vimlsp_settings_lsp4xml
LspRegisterServer {
\ 'name': 'lsp4xml',
\ 'cmd': {server_info->lsp_settings#get('lsp4xml', 'cmd', [lsp_settings#exec_path('lsp4xml')])},
- \ 'root_uri':{server_info->lsp_settings#get('lsp4xml', 'root_uri', lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), ['.git/'])))},
+ \ 'root_uri':{server_info->lsp_settings#get('lsp4xml', 'root_uri', lsp_settings#root_uri(['.git/']))},
+ \ 'initialization_options': lsp_settings#get('lsp4xml', 'initialization_options', v:null),
\ 'whitelist': lsp_settings#get('lsp4xml', 'whitelist', ['xml']),
\ 'blacklist': lsp_settings#get('lsp4xml', 'blacklist', []),
\ 'config': lsp_settings#get('lsp4xml', 'config', {}),