diff options
author | mattn <mattn.jp@gmail.com> | 2020-01-03 16:20:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 16:20:39 +0900 |
commit | 5bda6ae210a4cd5e9bf64acc64930a09904a66fa (patch) | |
tree | bb71bf4e6cb25e76aa0facbd017a9bbc4de5b4de /settings | |
parent | ac4f61f82fd8d0c4b0cbabd4e364dced0c72c645 (diff) | |
parent | 776ce84f47a1a0b8d5df5e84c4c509ca0658f623 (diff) | |
download | vim-lsp-settings-5bda6ae210a4cd5e9bf64acc64930a09904a66fa.tar.gz vim-lsp-settings-5bda6ae210a4cd5e9bf64acc64930a09904a66fa.tar.bz2 vim-lsp-settings-5bda6ae210a4cd5e9bf64acc64930a09904a66fa.zip |
Merge pull request #60 from wordijp/fix/multiple_npm_addition
fix: not found tsserver for typescript-language-server
Diffstat (limited to 'settings')
-rw-r--r-- | settings/typescript-language-server.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/typescript-language-server.vim b/settings/typescript-language-server.vim index 534a151..a75567c 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']), |