Added underlining for spell checking

This commit is contained in:
Serĉanto de Scio 2019-06-12 11:18:28 +10:00
parent 7c18c993be
commit 04c6f2e79a
Signed by: sercanto
GPG key ID: A4122FF3971B6865

9
.vimrc
View file

@ -1,4 +1,4 @@
" Preferred global default settings: "" Preferred global default settings:
set number set number
set background=dark set background=dark
set smartindent set smartindent
@ -9,6 +9,7 @@ syntax enable
colorscheme solarized colorscheme solarized
set t_Co=256 " use 265 colors in vim set t_Co=256 " use 265 colors in vim
" hi Normal guibg=NONE ctermbg=NONE " hi Normal guibg=NONE ctermbg=NONE
hi SpellBad cterm=underline
match ErrorMsg '\s\+$' match ErrorMsg '\s\+$'
set rtp+=/run/current-system/sw/share/vim-plugins/vim-airline set rtp+=/run/current-system/sw/share/vim-plugins/vim-airline
@ -122,9 +123,9 @@ autocmd BufNewFile,BufFilePre,BufRead *.py :call PythonSettings()
function! MuttSettings() function! MuttSettings()
set textwidth=79 set textwidth=79
set spell spelllang=en_au set spell spelllang=en_au
set tabstop=4 "set tabstop=4
set shiftwidth=4 "set shiftwidth=4
set expandtab "set expandtab
endfunction endfunction
autocmd BufNewFile,BufFilePre,BufRead /tmp/mutt-* :call MuttSettings() autocmd BufNewFile,BufFilePre,BufRead /tmp/mutt-* :call MuttSettings()
autocmd BufNewFile,BufFilePre,BufRead /tmp/neomutt-* :call MuttSettings() autocmd BufNewFile,BufFilePre,BufRead /tmp/neomutt-* :call MuttSettings()