aboutsummaryrefslogtreecommitdiff
path: root/settings/vim-language-server.vim
blob: d3c7c51451623f6ec6cda1532174563f7cb0f0a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
augroup vimlsp_settings_vim_language_server
  au!
  LspRegisterServer {
      \ 'name': 'vim-language-server',
      \ 'cmd': {server_info->lsp_settings#get('vim-language-server', 'cmd', [lsp_settings#exec_path('vim-language-server'), '--stdio'])},
      \ 'root_uri':{server_info->lsp_settings#get('vim-language-server', 'root_uri', lsp_settings#root_uri(['.git/', '.vim/', 'vimfiles/']))},
      \ 'initialization_options': { 'vimruntime': $VIMRUNTIME, 'runtimepath': &rtp },
      \ 'whitelist': lsp_settings#get('vim-language-server', 'whitelist', ['vim']), 
      \ 'blacklist': lsp_settings#get('vimbash-language-server', 'blacklist', []),
      \ 'config': lsp_settings#get('vim-language-server', 'config', {}),
      \ 'workspace_config': lsp_settings#get('vim-language-server', 'workspace_config', {}),
      \ }
augroup END