Browse Source

Use jedi instead of python-mode

coc
Schneider 7 years ago
parent
commit
d242919ee6
  1. 4
      vim/ftplugin/python.vim
  2. 3
      vimrc.symlink

4
vim/ftplugin/python.vim

@ -0,0 +1,4 @@
" use python3 as linter
if getline(1) =~# '^#!.*python3\>'
let syntastic_python_python_exec="python3"
endif

3
vimrc.symlink

@ -85,7 +85,8 @@ let g:clang_library_path='/usr/lib/llvm-4.0/lib/libclang-4.0.so.1'
Plug 'lvht/phpcd.vim', { 'for': 'php', 'do': 'composer install' }
" Python
Plug 'python-mode/python-mode', { 'for': 'python' }
Plug 'davidhalter/jedi-vim', { 'for': 'python', 'do': 'pip install jedi' }
Plug 'zchee/deoplete-jedi', { 'for': 'python' }
" Java
Plug 'artur-shaik/vim-javacomplete2', { 'for': 'java' }

Loading…
Cancel
Save