From 72fcb80cc902339e1c4c47f331a9e5a9815a82ae Mon Sep 17 00:00:00 2001 From: Nigel Kukard Date: Wed, 7 Aug 2019 08:00:41 +0000 Subject: [PATCH] Updated python config --- vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index c5906b7..6bded7e 100644 --- a/vimrc +++ b/vimrc @@ -44,7 +44,7 @@ highlight ExtraWhitespaces ctermbg=202 function! WhitespaceHighlight() if &filetype == 'python' call matchadd('ExtraWhitespaces','^\t') - set colorcolumn=100 + set colorcolumn=132 elseif &filetype == 'yaml' call matchadd('ExtraWhitespaces',' \t') call matchadd('ExtraWhitespaces','\t ') @@ -61,7 +61,7 @@ endfunction " Autocmd au BufNewFile,BufRead * call WhitespaceHighlight() -au BufNewFile,BufRead *.sls set filetype=yaml | call WhitespaceHighlight() +au BufNewFile,BufRead *.sls set filetype=python | set expandtab softtabstop=4 | call WhitespaceHighlight() au BufNewFile,BufRead *.md set filetype=markdown | call WhitespaceHighlight() au BufNewFile,BufRead *.html.ep set filetype=php | call WhitespaceHighlight() au BufNewFile,BufRead *.py set filetype=python | set expandtab softtabstop=4 | call WhitespaceHighlight() -- GitLab