vimrc.local 425 Bytes
Newer Older
x committed
1
highlight ExtraWhitespace ctermfg=white ctermbg=red guibg=red guifg=white
Őry Máté committed
2 3
autocmd! filetype python match ExtraWhitespace /\(\s\+$\|^\s*\t\|,[^ ]\|[;]$\|#[^ ].\|def [A-Z]\|class [a-z]\)/
autocmd BufWinEnter filetype python match ExtraWhitespace /\(\s\+$\|^\s*\t\|,[^ ]\|[;]$\|#[^ ].\|def [A-Z]\|class [a-z]\)/
x committed
4 5 6 7 8 9
autocmd BufWinLeave * call clearmatches()

set et
set sw=4
set ai
set smarttab
10 11
set textwidth=76
set colorcolumn=76
x committed
12