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