mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
disable whitespace crunching
This commit is contained in:
parent
2d805b96a4
commit
afc3d1faf3
1 changed files with 3 additions and 1 deletions
4
.vimrc
4
.vimrc
|
|
@ -105,13 +105,15 @@ let g:pymode_syntax_all = 1
|
||||||
let g:pymode_syntax_indent_errors = g:pymode_syntax_all
|
let g:pymode_syntax_indent_errors = g:pymode_syntax_all
|
||||||
let g:pymode_syntax_space_errors = g:pymode_syntax_all
|
let g:pymode_syntax_space_errors = g:pymode_syntax_all
|
||||||
|
|
||||||
|
let g:pymode_utils_whitespaces = 0
|
||||||
|
|
||||||
" Don't autofold code
|
" Don't autofold code
|
||||||
let g:pymode_folding = 0
|
let g:pymode_folding = 0
|
||||||
|
|
||||||
" Highlight trailing white space and delete on save
|
" Highlight trailing white space and delete on save
|
||||||
autocmd InsertLeave * match ErrorMsg '\s\+$'
|
autocmd InsertLeave * match ErrorMsg '\s\+$'
|
||||||
autocmd InsertEnter * call clearmatches()
|
autocmd InsertEnter * call clearmatches()
|
||||||
autocmd BufWritePre * :%s/\s\+$//e
|
" autocmd BufWritePre * :%s/\s\+$//e
|
||||||
|
|
||||||
autocmd FileType tex set spell
|
autocmd FileType tex set spell
|
||||||
autocmd FileType tex set tw=80
|
autocmd FileType tex set tw=80
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue