mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:40:04 +08:00
Fix(lsp): multiple language server registration bug (#3338)
This commit is contained in:
parent
bf427c94e8
commit
240a31c591
@ -114,7 +114,7 @@ else
|
||||
" use vim-lsp
|
||||
function! SpaceVim#lsp#reg_server(ft, cmds) abort
|
||||
exe 'au User lsp_setup call lsp#register_server({'
|
||||
\ . "'name': 'LSP',"
|
||||
\ . "'name': '" . a:ft . "-lsp',"
|
||||
\ . "'cmd': {server_info -> " . string(a:cmds) . '},'
|
||||
\ . "'whitelist': ['" . a:ft . "' ],"
|
||||
\ . '})'
|
||||
|
Loading…
Reference in New Issue
Block a user