Fix spellcheck highlight, adjust wrapping
This commit is contained in:
parent
142561ac98
commit
5700660ed3
1 changed files with 5 additions and 1 deletions
6
vimrc
6
vimrc
|
@ -9,6 +9,9 @@ color solarized
|
|||
|
||||
set background=dark
|
||||
|
||||
" FIX: Spell check highlighting broke for some reason
|
||||
hi SpellBad ctermfg=white ctermbg=red
|
||||
|
||||
set ai et si sts=2 sw=2 ts=2
|
||||
set hid
|
||||
set hls ic is
|
||||
|
@ -19,7 +22,8 @@ set undodir=~/.local/share/vim/undo,/tmp
|
|||
set undofile
|
||||
|
||||
autocmd FileType php setl sts=4 sw=4 ts=4
|
||||
autocmd FileType gitcommit,markdown,text setl nosi spell tw=80 wm=2
|
||||
autocmd FileType gitcommit,markdown,text setl nosi spell
|
||||
autocmd FileType markdown,text setl tw=80 wm=2
|
||||
|
||||
autocmd BufWritePre * :%s/\s\+$//e
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue