aboutsummaryrefslogtreecommitdiff
path: root/settings/javascript-typescript-stdio.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/javascript-typescript-stdio.vim')
-rw-r--r--settings/javascript-typescript-stdio.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/javascript-typescript-stdio.vim b/settings/javascript-typescript-stdio.vim
index eb370d5..9d3f645 100644
--- a/settings/javascript-typescript-stdio.vim
+++ b/settings/javascript-typescript-stdio.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_javascript_typescript_stdio
LspRegisterServer {
\ 'name': 'javascript-typescript-stdio',
\ 'cmd': {server_info->lsp_settings#get('javascript-typescript-stdio', 'cmd', [lsp_settings#exec_path('javascript-typescript-stdio')])},
- \ 'root_uri':{server_info->lsp_settings#get('javascript-typescript-stdio', 'root_uri', lsp_settings#root_uri(['.git/']))},
+ \ 'root_uri':{server_info->lsp_settings#get('javascript-typescript-stdio', 'root_uri', lsp_settings#root_uri(g:lsp_settings_root_markers))},
\ 'initialization_options': lsp_settings#get('javascript-typescript-stdio', 'initialization_options', {"diagnostics": "true"}),
\ 'whitelist': lsp_settings#get('javascript-typescript-stdio', 'whitelist', ['javascript', 'javascriptreact']),
\ 'blacklist': lsp_settings#get('javascript-typescript-stdio', 'blacklist', []),