aboutsummaryrefslogtreecommitdiff
path: root/settings
diff options
context:
space:
mode:
authorPrabir <mail@prabir.me>2019-12-25 13:51:58 -0800
committerPrabir <mail@prabir.me>2019-12-25 13:51:58 -0800
commit93d2c9e02a8e633c89314315c45a75d0abf6a3e6 (patch)
tree617814b8dca11e23dc31f541de394c2ac0a1b57e /settings
parent6d61c22ec9d45e7fa5d7ef40fe2268c81a800be1 (diff)
downloadvim-lsp-settings-93d2c9e02a8e633c89314315c45a75d0abf6a3e6.tar.gz
vim-lsp-settings-93d2c9e02a8e633c89314315c45a75d0abf6a3e6.tar.bz2
vim-lsp-settings-93d2c9e02a8e633c89314315c45a75d0abf6a3e6.zip
add support for javascriptreact
Diffstat (limited to 'settings')
-rw-r--r--settings/javascript-typescript-langserver.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/javascript-typescript-langserver.vim b/settings/javascript-typescript-langserver.vim
index d277b89..72afeb0 100644
--- a/settings/javascript-typescript-langserver.vim
+++ b/settings/javascript-typescript-langserver.vim
@@ -5,7 +5,7 @@ augroup vimlsp_settings_javascript_typescript_langserver
\ 'cmd': {server_info->lsp_settings#get('javascript-typescript-langserver', 'cmd', [lsp_settings#exec_path('javascript-typescript-langserver')])},
\ 'root_uri':{server_info->lsp_settings#get('javascript-typescript-langserver', 'root_uri', lsp_settings#root_uri(['.git/']))},
\ 'initialization_options': lsp_settings#get('javascript-typescript-langserver', 'initialization_options', {"diagnostics": "true"}),
- \ 'whitelist': lsp_settings#get('javascript-typescript-langserver', 'whitelist', ['javascript']),
+ \ 'whitelist': lsp_settings#get('javascript-typescript-langserver', 'whitelist', ['javascript', 'javascriptreact']),
\ 'blacklist': lsp_settings#get('javascript-typescript-langserver', 'blacklist', []),
\ 'config': lsp_settings#get('javascript-typescript-langserver', 'config', {}),
\ 'workspace_config': lsp_settings#get('javascript-typescript-langserver', 'workspace_config', {}),