1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00

Removed spellcheck overrides

This commit is contained in:
2018-08-14 13:55:17 +02:00
parent 20cf59990b
commit f7a5f842e2

10
.vimrc
View File

@@ -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 <F9> to show the highlight group under the cursor (mainly for debugging)
map <F9> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<'
\ . synIDattr(synID(line("."),col("."),0),"name") . "> lo<"
\ . synIDattr(synIDtrans(synID(line("."),col("."),1)),"name") . ">"<CR>
" Word completion from dictionary (on ctrl+space)
set complete+=kspell
" Python virtualenv support
"Plugin 'jmcantrell/vim-virtualenv'