From 08d1b84c47b642e8b696670a97b1c46a7d8d2961 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 21 Nov 2023 11:12:34 -0500 Subject: [PATCH] Improve how badly spelled words are rendered --- configs/vim/.vimrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/vim/.vimrc b/configs/vim/.vimrc index 8e14521..275dd4a 100644 --- a/configs/vim/.vimrc +++ b/configs/vim/.vimrc @@ -56,9 +56,15 @@ if !exists('g:vscode') set spell set spelllang=en_ca,en_us set spelloptions=camel + + " Hide spellcheck highlights I don't care about hi clear SpellCap hi clear SpellRare + " Change the spellcheck highlight to an underline + hi clear SpellBad + hi SpellBad cterm=underline ctermfg=DarkRed + " Disable spellcheck for some file formats autocmd FileType man setlocal nospell autocmd FileType diff setlocal nospell @@ -71,4 +77,4 @@ hi DiffFile ctermfg=White ctermbg=none cterm=bold hi DiffIndexLine ctermfg=White ctermbg=none cterm=bold hi DiffAdd ctermfg=DarkGreen ctermbg=none hi DiffChange ctermfg=DarkRed ctermbg=none -hi DiffDelete ctermfg=DarkRed ctermbg=none \ No newline at end of file +hi DiffDelete ctermfg=DarkRed ctermbg=none