Skip to content

Commit

Permalink
Replaced python-mode with syntastic.
Browse files Browse the repository at this point in the history
  • Loading branch information
exhuma committed Jun 16, 2014
1 parent ee7eda2 commit 7a4c570
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
1 change: 1 addition & 0 deletions after/ftplugin/python/folding.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set foldmethod=indent
29 changes: 16 additions & 13 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,16 @@ Plugin 'ctrlp.vim'
Plugin 'ervandew/supertab'
Plugin 'gitv'
Plugin 'gmarik/Vundle.vim'
Plugin 'hdima/python-syntax'
Plugin 'itchyny/lightline.vim'
Plugin 'jelera/vim-javascript-syntax'
Plugin 'klen/python-mode'
Plugin 'mattn/emmet-vim'
Plugin 'molokai'
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-surround'
Plugin 'scrooloose/syntastic'
Plugin 'tomtom/tlib_vim'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-surround'
Plugin 'unimpaired.vim'

call vundle#end()
Expand Down Expand Up @@ -217,17 +218,6 @@ let NERDTreeIgnore=['\.exe$', '\.tmp$', '\.pyc',
let NERDTreeWinSize=40
" }}}

" python-mode {{{
let pymode_lint_checker="pylint,pyflakes,pep8,mccabe"
let g:pymode_doc = 0
let g:pymode_rope_complete_on_dot = 0
let g:pymode_rope_extended_complete = 1
let g:pymode_syntax_print_as_function = 1
let g:pymode_trim_whitespaces = 0
let g:pymode_virtualenv = 1
let g:pymode_virtualenv_path = 'env'
" }}}

" CtrlP {{{
let g:ctrlp_user_command = ['.git/', 'cd %s && git ls-files']
" }}}
Expand Down Expand Up @@ -271,6 +261,19 @@ let g:lightline = {
" SuperTab {{{
let g:SuperTabLongestEnhanced=1
" }}}

" Syntastic {{{
let g:syntastic_id_checkers = 1
let g:syntastic_error_symbol = ''
let g:syntastic_warning_symbol = ''
let g:syntastic_auto_loc_list = 1
let g:syntastic_python_python_exe = 'python3'
" }}}

" python-syntax {{{
let python_highlight_all = 1
" }}}

" }}}

" vim: set shiftwidth=4 tabstop=4 expandtab:
Expand Down

0 comments on commit 7a4c570

Please sign in to comment.