diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-24 13:32:03 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-01-24 13:32:03 +0900 |
commit | ac91e517302380f0b5b50b06837789036d639ac8 (patch) | |
tree | 5f371e93dacb6b5fd6cab221fead6d83ba46e3e4 | |
parent | 386951849a62583ec8d9e0c60170ca59dbc61708 (diff) | |
download | vim-lsp-settings-ac91e517302380f0b5b50b06837789036d639ac8.tar.gz vim-lsp-settings-ac91e517302380f0b5b50b06837789036d639ac8.tar.bz2 vim-lsp-settings-ac91e517302380f0b5b50b06837789036d639ac8.zip |
Use g:lsp_settings_root_markers
-rw-r--r-- | settings/efm-langserver.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/efm-langserver.vim b/settings/efm-langserver.vim index 45711e2..1a7c8cc 100644 --- a/settings/efm-langserver.vim +++ b/settings/efm-langserver.vim @@ -3,7 +3,7 @@ augroup vimlsp_settings_efm_langserver LspRegisterServer { \ 'name': 'efm-langserver', \ 'cmd': {server_info->lsp_settings#get('efm-langserver', 'cmd', [lsp_settings#exec_path('efm-langserver')])}, - \ 'root_uri':{server_info->lsp_settings#get('efm-langserver', 'root_uri', lsp_settings#root_uri(['.git/']))}, + \ 'root_uri':{server_info->lsp_settings#get('efm-langserver', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))}, \ 'initialization_options': lsp_settings#get('efm-langserver', 'initialization_options', v:null), \ 'whitelist': lsp_settings#get('efm-langserver', 'whitelist', ['*']), \ 'blacklist': lsp_settings#get('efm-langserver', 'blacklist', []), |