aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorwordi <wordijp@gmail.com>2020-01-03 14:44:12 +0900
committerwordi <wordijp@gmail.com>2020-01-03 14:56:22 +0900
commit24de62683bbe337b4389cb57d48eb68c9afcf4ea (patch)
tree2141a1d1082b061a3f991a8e63d5f308488b71d4 /settings
parentac4f61f82fd8d0c4b0cbabd4e364dced0c72c645 (diff)
downloadvim-lsp-settings-24de62683bbe337b4389cb57d48eb68c9afcf4ea.tar.gz
vim-lsp-settings-24de62683bbe337b4389cb57d48eb68c9afcf4ea.tar.bz2
vim-lsp-settings-24de62683bbe337b4389cb57d48eb68c9afcf4ea.zip
fix: not found tsserver for typescript-language-server
Diffstat (limited to 'settings')
-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 534a151..708e693 100644
--- a/settings/typescript-language-server.vim
+++ b/settings/typescript-language-server.vim
@@ -2,7 +2,7 @@ augroup vimlsp_settings_typescript_language_server
au!
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('tsserver')])},
+ \ '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']))},
\ 'initialization_options': lsp_settings#get('typescript-language-server', 'initialization_options', {"diagnostics": "true"}),
\ 'whitelist': lsp_settings#get('typescript-language-server', 'whitelist', ['javascript', 'javascriptreact', 'typescript', 'typescriptreact']),