aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-10 00:13:56 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-10 00:13:56 +0900
commit58e3eb39dd676783037a316130d7a9651ea3b1e4 (patch)
tree5272df663a31622fc067c35d28331ec9e7d17ba4
parent5bd97b1881128626c779fcca81ccf3eb612c0d26 (diff)
downloadvim-lsp-settings-58e3eb39dd676783037a316130d7a9651ea3b1e4.tar.gz
vim-lsp-settings-58e3eb39dd676783037a316130d7a9651ea3b1e4.tar.bz2
vim-lsp-settings-58e3eb39dd676783037a316130d7a9651ea3b1e4.zip
Add tsconfig.json
-rw-r--r--settings/typescript-language-server.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/typescript-language-server.vim b/settings/typescript-language-server.vim
index a75567c..21fd6a9 100644
--- a/settings/typescript-language-server.vim
+++ b/settings/typescript-language-server.vim
@@ -3,7 +3,7 @@ augroup vimlsp_settings_typescript_language_server
LspRegisterServer {
\ 'name': 'typescript-language-server',
\ 'cmd': {server_info->lsp_settings#get('typescript-language-server', 'cmd', [lsp_settings#exec_path('typescript-language-server'), '--stdio', '--tsserver-path', lsp_settings#exec_path('typescript-language-server:tsserver')])},
- \ 'root_uri':{server_info->lsp_settings#get('typescript-language-server', 'root_uri', lsp_settings#root_uri(['.git/', 'package.json']))},
+ \ 'root_uri':{server_info->lsp_settings#get('typescript-language-server', 'root_uri', lsp_settings#root_uri(['.git/', 'package.json', 'tsconfig.json']))},
\ 'initialization_options': lsp_settings#get('typescript-language-server', 'initialization_options', {"diagnostics": "true"}),
\ 'whitelist': lsp_settings#get('typescript-language-server', 'whitelist', ['javascript', 'javascriptreact', 'typescript', 'typescriptreact']),
\ 'blacklist': lsp_settings#get('typescript-language-server', 'blacklist', []),