aboutsummaryrefslogtreecommitdiff
path: root/settings/gql-language-server.vim
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 14:50:44 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 14:50:44 +0900
commitc61920a55b3f7c56a837f2bd650a64fbbcce383e (patch)
treec1ce933744ad087113cdb6ba15c33ba9a68df497 /settings/gql-language-server.vim
parent750d4f135267fefbcfaa993abb0912c158fb92fd (diff)
parent7734093728215b27db4e10a6603e043569974374 (diff)
downloadvim-lsp-settings-c61920a55b3f7c56a837f2bd650a64fbbcce383e.tar.gz
vim-lsp-settings-c61920a55b3f7c56a837f2bd650a64fbbcce383e.tar.bz2
vim-lsp-settings-c61920a55b3f7c56a837f2bd650a64fbbcce383e.zip
Merge branch 'master' of https://github.com/mattn/vim-lsp-settings
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..f99bb68 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('gql-language-server'))},
\ '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', []),