aboutsummaryrefslogtreecommitdiff
path: root/settings/vim-language-server.vim
blob: 5f8812f3779bfcf6691f18d232bc1a9f84a5a6ea (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('vim-language-server'))},
      \ 'initialization_options': extend({'vimruntime': $VIMRUNTIME, 'runtimepath': &rtp}, lsp_settings#get('vim-language-server', 'initialization_options', {}), 'force'),
      \ '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', lsp_settings#server_config('vim-language-server')),
      \ 'workspace_config': lsp_settings#get('vim-language-server', 'workspace_config', {}),
      \ }
augroup END