From f7a5f842e2b29d6dd7101bdafaa064f3944e603d Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Tue, 14 Aug 2018 13:55:17 +0200 Subject: [PATCH] Removed spellcheck overrides --- .vimrc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.vimrc b/.vimrc index 7ccd7a1..466b7be 100644 --- a/.vimrc +++ b/.vimrc @@ -240,20 +240,14 @@ if !exists( "b:myLang" ) endif endif -" Try to override colours for highlighting misspelled and mis-capitalised words -hi clear SpellBad -hi clear SpellCap -hi SpellBad ctermfg=red ctermbg=NONE guifg=#af5f00 guibg=NONE -hi SpellCap term=reverse cterm=undercurl gui=undercurl guisp=#eeee00 +" Word completion from dictionary (on ctrl+space) +set complete+=kspell " Map to show the highlight group under the cursor (mainly for debugging) map :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<' \ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<" \ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">" -" Word completion from dictionary (on ctrl+space) -set complete+=kspell - " Python virtualenv support "Plugin 'jmcantrell/vim-virtualenv'