aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-28 16:19:14 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2019-12-28 16:19:14 +0900
commit7841d8439bfb7527964f74f245b9011cc3e46c5a (patch)
treeb3a2c3fce3917ddb5c32e3569da2645b6f69f42e /settings
parent89443bbc2c2f4cedd1f955208f2b181a180dc654 (diff)
downloadvim-lsp-settings-7841d8439bfb7527964f74f245b9011cc3e46c5a.tar.gz
vim-lsp-settings-7841d8439bfb7527964f74f245b9011cc3e46c5a.tar.bz2
vim-lsp-settings-7841d8439bfb7527964f74f245b9011cc3e46c5a.zip
Use npm_install
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 8b62b67..438696c 100644
--- a/settings/typescript-language-server.vim
+++ b/settings/typescript-language-server.vim
@@ -5,7 +5,7 @@ augroup vimlsp_settings_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')])},
\ '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', ['typescript', 'typescriptreact']),
+ \ 'whitelist': lsp_settings#get('typescript-language-server', 'whitelist', ['javascript', 'typescript', 'typescriptreact']),
\ 'blacklist': lsp_settings#get('typescript-language-server', 'blacklist', []),
\ 'config': lsp_settings#get('typescript-language-server', 'config', {}),
\ 'workspace_config': lsp_settings#get('typescript-language-server', 'workspace_config', {}),