Browse Source

Add rust and python

coc
Schneider 6 years ago
parent
commit
c3210ca7ae
Signed by: schneider GPG Key ID: 3F50B02A50039F3B
  1. 5
      init.vim
  2. 3
      vim/ftplugin/python.vim

5
init.vim

@ -93,6 +93,7 @@ Plug 'lumiliet/vim-twig', { 'for': [ 'php', 'html' ] } " Twig templates
" Python{{{ " Python{{{
Plug 'davidhalter/jedi-vim', { 'for': 'python', 'do': 'pip install jedi' } Plug 'davidhalter/jedi-vim', { 'for': 'python', 'do': 'pip install jedi' }
Plug 'zchee/deoplete-jedi', { 'for': 'python' } Plug 'zchee/deoplete-jedi', { 'for': 'python' }
Plug 'python-mode/python-mode', { 'for': 'python', 'branch': 'develop' }
"}}} "}}}
" Java{{{ " Java{{{
@ -103,6 +104,10 @@ Plug 'artur-shaik/vim-javacomplete2', { 'for': 'java' }
Plug 'vim-scripts/mips.vim' Plug 'vim-scripts/mips.vim'
"}}} "}}}
" Rust {{{
Plug 'sebastianmarkow/deoplete-rust', {'for': 'rust' }
"}}}
" All of your Plugins must be added before the following line " All of your Plugins must be added before the following line
call plug#end() " required call plug#end() " required
filetype plugin indent on " required filetype plugin indent on " required

3
vim/ftplugin/python.vim

@ -5,3 +5,6 @@ if getline(1) =~# '^#!.*python3\>'
let syntastic_python_python_exec="python3" let syntastic_python_python_exec="python3"
endif endif
endif endif
let g:ale_fixers['python'] = ['autopep8']
let g:pymode_run_bind = '<F5>'
Loading…
Cancel
Save