Skip to content

Commit

Permalink
Remove old python mode/jedi settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Jul 1, 2018
1 parent c09b3a5 commit a03a3fc
Showing 1 changed file with 0 additions and 35 deletions.
35 changes: 0 additions & 35 deletions ftplugin/python.vim
Original file line number Diff line number Diff line change
Expand Up @@ -14,38 +14,3 @@ let b:ale_fixers = []

" Highlight everything possible for python
let g:python_highlight_all=1

" turn off jedi (python completion)
let g:jedi#completions_enabled = 0
let g:jedi#auto_vim_configuration = 0
let g:jedi#smart_auto_mappings = 0

function! StartPymode()
let g:pymode_virtualenv = 1 " Auto fix vim python paths if virtualenv enabled

" Disable python folding (major performance hit)
" Conversation: https://github.com/python-mode/python-mode/issues/523
" todo: investigate if FastFold solves the lag
let g:pymode_folding= 0

let g:pymode_rope = 0

let g:pymode_lint = 0
if g:pymode_lint != 0
if exists('flake8')
let g:pymode_lint_checkers = []
autocmd BufWritePost *.py call Flake8()
else
let g:pymode_lint_checkers = ['pep8', 'pep257', 'pyflakes', 'mccabe']
endif
let g:pymode_lint_ignore = 'C0111,D100,D101,D102,D103,E501,W'
let g:pymode_lint_sort = ['E', 'C', 'W', 'R', 'I', 'F', 'D']
let g:pymode_lint_unmodified = 1
endif
let python_highlight_all=1
let python_highlight_exceptions=0
let python_highlight_builtins=0
let python_slow_sync=1
endfunction

call plugin_loader#PlugOnLoad('python-mode', 'call StartPymode()')

0 comments on commit a03a3fc

Please sign in to comment.