From a03a3fc4937f3ea4a9cebde51aa9a8b98507acd5 Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sun, 1 Jul 2018 12:40:45 -0500 Subject: [PATCH] Remove old python mode/jedi settings --- ftplugin/python.vim | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/ftplugin/python.vim b/ftplugin/python.vim index 2372007..cafe19d 100644 --- a/ftplugin/python.vim +++ b/ftplugin/python.vim @@ -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()')