From 2f68beeacbfb37c39fecf482fa39fb57cb28ea2d Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Thu, 31 Mar 2022 13:19:01 +0800 Subject: [PATCH] fix(lsp): disable jedi when pyright enabled --- autoload/SpaceVim/layers/lang/python.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/autoload/SpaceVim/layers/lang/python.vim b/autoload/SpaceVim/layers/lang/python.vim index 85eefbde9..a29d94c8b 100644 --- a/autoload/SpaceVim/layers/lang/python.vim +++ b/autoload/SpaceVim/layers/lang/python.vim @@ -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,