Browse Source

add a highlight to the break column in python files

master
Julio Biason 11 years ago
parent
commit
bf88629c48
  1. 2
      configs/vimrc

2
configs/vimrc

@ -107,7 +107,7 @@ if has("autocmd")
" (use spaces instead of tabs (expandtab), uses 4 spaces for tabs (tabstop), " (use spaces instead of tabs (expandtab), uses 4 spaces for tabs (tabstop),
" when auto-indenting, also use 4 spaces (shiftwidth), when deleting text, 4 " when auto-indenting, also use 4 spaces (shiftwidth), when deleting text, 4
" spaces are a tab (softtabstop) and break the line at column 78 (textwidth)) " spaces are a tab (softtabstop) and break the line at column 78 (textwidth))
au FileType python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4 textwidth=78 au FileType python setlocal expandtab tabstop=4 shiftwidth=4 softtabstop=4 textwidth=78 colorcolumn=79
" reStructured files follow python closely, but use 3 tab stops instead of 4 " reStructured files follow python closely, but use 3 tab stops instead of 4
au FileType rst setlocal expandtab tabstop=3 sw=3 sts=3 textwidth=78 au FileType rst setlocal expandtab tabstop=3 sw=3 sts=3 textwidth=78

Loading…
Cancel
Save