blob: 3be4af7bb535db67747febc1e7f026c08077184c (
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->[&shell, &shellcmdflag, 'vim-language-server --stdio']},
\ 'initialization_options': {
\ 'vimruntime': $VIMRUNTIME,
\ 'runtimepath': &rtp,
\ },
\ 'whitelist': ['vim'],
\ })
augroup END
|