diff options
author | Prabir <mail@prabir.me> | 2019-12-25 13:49:50 -0800 |
---|---|---|
committer | Prabir <mail@prabir.me> | 2019-12-25 13:49:50 -0800 |
commit | 6d61c22ec9d45e7fa5d7ef40fe2268c81a800be1 (patch) | |
tree | 99b4e8e26684c22f39bed7a724d83cb32651c80f /settings | |
parent | fb25add36d26303f7082384a4312f9f26a7edaaa (diff) | |
download | vim-lsp-settings-6d61c22ec9d45e7fa5d7ef40fe2268c81a800be1.tar.gz vim-lsp-settings-6d61c22ec9d45e7fa5d7ef40fe2268c81a800be1.tar.bz2 vim-lsp-settings-6d61c22ec9d45e7fa5d7ef40fe2268c81a800be1.zip |
use typescriptreact as filetype for .tsx files
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 1147976..9a5506d 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'])}, \ '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', 'typescript.tsx']), + \ 'whitelist': lsp_settings#get('typescript-language-server', 'whitelist', ['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', {}), |