[vim] Use breakindent and showbreak for code

This commit is contained in:
Eryn Wells 2015-05-20 08:06:09 -07:00
parent 4fd47e164e
commit 1edbfdff0f

6
vimrc
View file

@ -348,6 +348,12 @@ if has('autocmd')
autocmd FileType html,css call <SID>strip_trailing_whitespace()
augroup END
" Indent wrapped long lines of code to leading indent
augroup WrapLongLinesWithProperIndentation
autocmd!
autocmd FileType python,c,cpp,objc,objcpp,html,css setlocal breakindent showbreak=\ \ \ \
augroup END
augroup SConsFileType
autocmd!
autocmd BufRead SCons{truct,cript} setf python