diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim new file mode 100644 index 0000000..c6240f2 --- /dev/null +++ b/vim/ftplugin/python.vim @@ -0,0 +1 @@ +let g:argwrap_tail_comma = 1 diff --git a/vim/rc/plugins.rc.vim b/vim/rc/plugins.rc.vim index b477f9c..f8ca8f6 100644 --- a/vim/rc/plugins.rc.vim +++ b/vim/rc/plugins.rc.vim @@ -151,7 +151,7 @@ Plug 'rust-lang/rust.vim' call s:smart_source_rc('plugins/python') " Disable polyglog for languages with more robust plugins -let g:polyglot_disabled = ['python', 'go', 'rust'] +let g:polyglot_disabled = ['go', 'rust'] Plug 'sheerun/vim-polyglot' " Languages not in polyglot diff --git a/vim/rc/plugins/python.rc.vim b/vim/rc/plugins/python.rc.vim index 352a205..a9eb5c0 100644 --- a/vim/rc/plugins/python.rc.vim +++ b/vim/rc/plugins/python.rc.vim @@ -1,34 +1,6 @@ " All Python plugins and settings Plug 'alfredodeza/coveragepy.vim', { 'for': 'python' } Plug 'alfredodeza/pytest.vim', { 'for': 'python' } -" pytest.vim {{ nmap ptp :Pytest project nmap ptf :Pytest file nmap ptm :Pytest method -" }} pytest.vim -Plug 'davidhalter/jedi-vim', { 'for': 'python' } -" jedi-vim {{ -let g:jedi#auto_vim_configuration = 0 -let g:jedi#completions_enabled = 0 -let g:jedi#smart_auto_mappings = 0 -" }} jedi-vim -Plug 'klen/python-mode', { 'for': 'python' } -" python-mode {{ -" A lot is disabled, what I'm using: -" breakpoints, virtualenv, motions, syntax, -" indent -let g:pymode_breakpoint = 1 -let g:pymode_breakpoint_bind = 'pb' -let g:pymode_folding = 1 -let g:pymode_indent = 1 -let g:pymode_lint = 0 -let g:pymode_lint_checkers = ['flake8'] -let g:pymode_lint_on_write = 0 -let g:pymode_motion = 1 -let g:pymode_rope = 0 -let g:pymode_rope_complete_on_dot = 0 -let g:pymode_rope_completion = 0 -let g:pymode_run = 1 -let g:pymode_options_max_line_length = 80 -let g:pymode_options_colorcolumn = 1 -" }} python-mode