Added spell check to neomutt

This commit is contained in:
Craige McWhirter 2020-10-10 13:49:29 +10:00
parent 5cc08c6cb0
commit d2b1a61a9d
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -153,12 +153,12 @@ vim_configurable.customize {
function! MuttSettings()
set textwidth=79
set spell spelllang=en_au
"set tabstop=4
"set shiftwidth=4
"set expandtab
hi clear SpellBad " Clear any unwanted default settings
hi SpellBad cterm=underline " Set the spell checking highlight style
hi SpellBad ctermbg=NONE " Set the spell checking highlight background
endfunction
autocmd BufNewFile,BufFilePre,BufRead /tmp/mutt-* :call MuttSettings()
autocmd BufNewFile,BufFilePre,BufRead /tmp/neomutt-* :call MuttSettings()
autocmd BufNewFile,BufFilePre,BufRead mutt-* :call MuttSettings()
autocmd BufNewFile,BufFilePre,BufRead neomutt-* :call MuttSettings()
" Settings for my C environment:
function! CSettings()