1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:10:05 +08:00

Add a condition to load LSP plugin

* Add Python3 requirement to `LanguageClient-neovim`
This commit is contained in:
Seong Yong-ju 2017-11-19 23:47:01 +09:00
parent 512ebbdc73
commit dcdbc17593

View File

@ -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