diff --git a/roles/vim.nix b/roles/vim.nix index e229b5d..9c8be10 100644 --- a/roles/vim.nix +++ b/roles/vim.nix @@ -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()