mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:30:04 +08:00
fix(lsp): disable jedi when pyright enabled
This commit is contained in:
parent
25ce872314
commit
2f68beeacb
@ -98,6 +98,7 @@ function! SpaceVim#layers#lang#python#plugins() abort
|
||||
let plugins = []
|
||||
" python
|
||||
if !SpaceVim#layers#lsp#check_filetype('python')
|
||||
\ && !SpaceVim#layers#lsp#check_server('pyright')
|
||||
if has('nvim')
|
||||
call add(plugins, ['zchee/deoplete-jedi', { 'on_ft' : 'python'}])
|
||||
" in neovim, we can use deoplete-jedi together with jedi-vim,
|
||||
|
Loading…
Reference in New Issue
Block a user