1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-23 17:11:32 +08:00
SpaceVim/autoload/SpaceVim/layers/lang/python.vim
2017-02-02 01:57:06 +08:00

20 lines
547 B
VimL

""
" @section lang#python, layer-lang-python
" @parentsection layers
" To make this layer works well, you should install jedi.
" @subsection mappings
" >
" mode key function
" <
function! SpaceVim#layers#lang#python#plugins() abort
let plugins = []
" python
if has('nvim')
call add(plugins, ['zchee/deoplete-jedi', { 'on_ft' : 'python'}])
else
call add(plugins, ['davidhalter/jedi-vim', { 'on_ft' : 'python'}])
endif
return plugins
endfunction