mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 22:30:04 +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')
|
||||
let plugins = add(plugins, ['SpaceVim/LanguageClient-neovim',
|
||||
\ { 'merged': 0 }])
|
||||
\ { 'merged': 0, 'if': has('python3') }])
|
||||
endif
|
||||
|
||||
return plugins
|
||||
|
Loading…
Reference in New Issue
Block a user