mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:30:07 +08:00
Add a condition to load LSP plugin
* Add Python3 requirement to `LanguageClient-neovim`
This commit is contained in:
parent
512ebbdc73
commit
dcdbc17593
@ -3,7 +3,7 @@ function! SpaceVim#layers#lsp#plugins() abort
|
|||||||
|
|
||||||
if has('nvim')
|
if has('nvim')
|
||||||
let plugins = add(plugins, ['SpaceVim/LanguageClient-neovim',
|
let plugins = add(plugins, ['SpaceVim/LanguageClient-neovim',
|
||||||
\ { 'merged': 0 }])
|
\ { 'merged': 0, 'if': has('python3') }])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
return plugins
|
return plugins
|
||||||
|
Loading…
Reference in New Issue
Block a user