diff options
Diffstat (limited to 'settings/nimlsp.vim')
-rw-r--r-- | settings/nimlsp.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/nimlsp.vim b/settings/nimlsp.vim index 95c71e1..70a59a8 100644 --- a/settings/nimlsp.vim +++ b/settings/nimlsp.vim @@ -3,7 +3,7 @@ augroup vimlsp_settings_nimlsp LspRegisterServer { \ 'name': 'nimlsp', \ 'cmd': {server_info->lsp_settings#get('nimlsp', 'cmd', [lsp_settings#exec_path('nimlsp')])}, - \ 'root_uri':{server_info->lsp_settings#get('nimlsp', 'root_uri', lsp_settings#root_uri(['.git/']))}, + \ 'root_uri':{server_info->lsp_settings#get('nimlsp', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))}, \ 'initialization_options': lsp_settings#get('nimlsp', 'initialization_options', {"diagnostics": "true"}), \ 'whitelist': lsp_settings#get('nimlsp', 'whitelist', ['nim']), \ 'blacklist': lsp_settings#get('nimlsp', 'blacklist', []), |