forked from mattn/vim-lsp-settings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjavascript-typescript-stdio.vim
14 lines (14 loc) · 1.11 KB
/
javascript-typescript-stdio.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
augroup vim_lsp_settings_javascript_typescript_stdio
au!
LspRegisterServer {
\ 'name': 'javascript-typescript-stdio',
\ 'cmd': {server_info->lsp_settings#get('javascript-typescript-stdio', 'cmd', [lsp_settings#exec_path('javascript-typescript-stdio')])},
\ 'root_uri':{server_info->lsp_settings#get('javascript-typescript-stdio', 'root_uri', lsp_settings#root_uri('javascript-typescript-stdio'))},
\ 'initialization_options': lsp_settings#get('javascript-typescript-stdio', 'initialization_options', {'diagnostics': 'true'}),
\ 'allowlist': lsp_settings#get('javascript-typescript-stdio', 'allowlist', ['javascript', 'javascriptreact', 'javascript.jsx']),
\ 'blocklist': lsp_settings#get('javascript-typescript-stdio', 'blocklist', []),
\ 'config': lsp_settings#get('javascript-typescript-stdio', 'config', lsp_settings#server_config('javascript-typescript-stdio')),
\ 'workspace_config': lsp_settings#get('javascript-typescript-stdio', 'workspace_config', {}),
\ 'semantic_highlight': lsp_settings#get('javascript-typescript-stdio', 'semantic_highlight', {}),
\ }
augroup END