From 9c49f65d85155d38defde5a01b18dca0e955f049 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Tue, 28 Apr 2020 12:13:53 +0200 Subject: [PATCH] Change line length in pymode --- dotfiles/vim/vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dotfiles/vim/vimrc b/dotfiles/vim/vimrc index caa3c07..5b29823 100644 --- a/dotfiles/vim/vimrc +++ b/dotfiles/vim/vimrc @@ -91,6 +91,9 @@ filetype plugin indent on " required let g:ale_python_mypy_options = '--strict --strict-optional' +let g:pymode_options_max_line_length = 90 +let g:pymode_options_colorcolumn = 0 + let g:ycm_extra_conf_globlist = ['!~/*'] " is overwritten in autogroups for c let g:ycm_autoclose_preview_window_after_insertion = 1 @@ -206,6 +209,7 @@ augroup configgroup autocmd FileType ruby setlocal commentstring=#\ %s autocmd FileType python setlocal commentstring=#\ %s autocmd FileType python setlocal foldmethod=indent + autocmd FileType python setlocal colorcolumn=80 autocmd FileType python let g:ycm_python_interpreter_path = '' autocmd FileType python let g:ycm_python_sys_path = [] autocmd FileType python let g:ycm_extra_conf_vim_data = ['g:ycm_python_interpreter_path', 'g:ycm_python_sys_path']