From d2b1a61a9daef9b0f41cd5378d3658152b79ddd3 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Sat, 10 Oct 2020 13:49:29 +1000 Subject: [PATCH] Added spell check to neomutt --- roles/vim.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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()