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() function! MuttSettings()
set textwidth=79 set textwidth=79
set spell spelllang=en_au set spell spelllang=en_au
"set tabstop=4 hi clear SpellBad " Clear any unwanted default settings
"set shiftwidth=4 hi SpellBad cterm=underline " Set the spell checking highlight style
"set expandtab hi SpellBad ctermbg=NONE " Set the spell checking highlight background
endfunction endfunction
autocmd BufNewFile,BufFilePre,BufRead /tmp/mutt-* :call MuttSettings() autocmd BufNewFile,BufFilePre,BufRead mutt-* :call MuttSettings()
autocmd BufNewFile,BufFilePre,BufRead /tmp/neomutt-* :call MuttSettings() autocmd BufNewFile,BufFilePre,BufRead neomutt-* :call MuttSettings()
" Settings for my C environment: " Settings for my C environment:
function! CSettings() function! CSettings()