aboutsummaryrefslogtreecommitdiff
path: root/setting/vim-language-server.vim
blob: 6932aa998894482e0c35b9617e5eb306e7dc1bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
augroup vimlsp_settings_vim_language_server
  au!
  autocmd User lsp_setup call lsp#register_server({
      \ 'name': 'vim-language-server',
      \ 'cmd': {server_info->[lsp_settings#exec_path('vim-language-server'), '--stdio']},
      \ 'initialization_options': {
      \   'vimruntime': $VIMRUNTIME,
      \   'runtimepath': &rtp,
      \ },
      \ 'whitelist': ['vim'],
      \ })
augroup END