aboutsummaryrefslogtreecommitdiffstats
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 0481b81..dfb2409 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -356,4 +356,15 @@ nnoremap <leader><C-f> :GitFZF<CR>
" Switching off colours {{{
syntax off
hi Visual term=reverse ctermbg=7 ctermfg=black guifg=black guibg=LightPink
+hi SpellBad term=reverse ctermbg=224 gui=undercurl guisp=Red guibg=Red
+hi SpellCap term=reverse ctermbg=224 gui=undercurl guisp=Red guibg=Red
+hi SpellRare term=reverse ctermbg=224 gui=undercurl guisp=Red guibg=Blue
+
+" }}}
+" Turn spelling on for text files {{{
+" from - https://dmerej.info/blog/post/syntax-highlighting-is-useless/
+augroup textfiles
+ autocmd!
+ autocmd filetype markdown :setlocal spell spelllang=en | syntax clear
+augroup end
" }}}