diff options
-rw-r--r-- | vim/vimrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 " }}} |