aboutsummaryrefslogtreecommitdiff
path: root/settings/eslint-language-server.vim
diff options
context:
space:
mode:
Diffstat (limited to 'settings/eslint-language-server.vim')
-rw-r--r--settings/eslint-language-server.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/eslint-language-server.vim b/settings/eslint-language-server.vim
index eed9082..a469204 100644
--- a/settings/eslint-language-server.vim
+++ b/settings/eslint-language-server.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_eslint_language_server
LspRegisterServer {
\ 'name': 'eslint-language-server',
\ 'cmd': {server_info->lsp_settings#get('eslint-language-server', 'cmd', [lsp_settings#exec_path('eslint-language-server'), '--stdio'])},
- \ 'root_uri':{server_info->lsp_settings#get('eslint-language-server', 'root_uri', lsp_settings#root_uri(['package.json', 'tsconfig.json']))},
+ \ 'root_uri':{server_info->lsp_settings#get('eslint-language-server', 'root_uri', lsp_settings#root_uri())},
\ 'initialization_options': lsp_settings#get('eslint-language-server', 'initialization_options', {'diagnostics': 'true'}),
\ 'whitelist': lsp_settings#get('eslint-language-server', 'whitelist', ['javascript', 'javascriptreact', 'typescript', 'typescriptreact', 'typescript.tsx']),
\ 'blacklist': lsp_settings#get('eslint-language-server', 'blacklist', []),