Skip to content

Commit

Permalink
add python support
Browse files Browse the repository at this point in the history
  • Loading branch information
daynin committed Apr 23, 2016
1 parent 6c54aae commit 4079f87
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion init.vim
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Plug 'hail2u/vim-css3-syntax', { 'for': ['css', 'scss'] }
"Jade
Plug 'digitaltoad/vim-jade'
"JavaScript
"Plug 'pangloss/vim-javascript', { 'for': 'javascript' }
Plug 'othree/yajs.vim', { 'for': 'javascript' }
Plug 'maksimr/vim-jsbeautify', { 'for': 'javascript' }
Plug 'wizicer/vim-jison', { 'for': 'jison' }
Expand All @@ -47,6 +46,9 @@ Plug 'nsf/gocode', { 'for': 'go' }
Plug 'tpope/vim-bundler', { 'for': 'ruby' }
Plug 'tpope/vim-rails', { 'for': 'ruby' }
Plug 'vim-ruby/vim-ruby', { 'for': 'ruby' }
"Python
Plug 'klen/python-mode'
Plug 'mitsuhiko/vim-python-combined'
call plug#end()

" Settings
Expand Down Expand Up @@ -160,3 +162,13 @@ function! WinMove(key)
exec "wincmd ".a:key
endif
endfunction

"Python settings
let g:pymode_syntax = 1
let g:pymode_syntax_all = 1
let g:pymode_syntax_indent_errors = g:pymode_syntax_all
let g:pymode_syntax_space_errors = g:pymode_syntax_all
let g:pymode_virtualenv = 1
let g:pymode_lint = 1
let g:pymode_lint_checker = "pyflakes,pep8"
let g:pymode_lint_ignore="E501,W601,C0110"

0 comments on commit 4079f87

Please sign in to comment.