Improve visibilty of errors in the source with YouCompleteMe.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Andreas Schneider
2015-01-23 17:45:50 +01:00
parent 4c63ae1d92
commit aa4c37a849

View File

@@ -49,6 +49,10 @@ if !exists('g:gruvbox_improved_strings')
let g:gruvbox_improved_strings=0 let g:gruvbox_improved_strings=0
endif endif
if !exists('g:gruvbox_improved_warnings')
let g:gruvbox_improved_warnings=0
endif
if !exists('g:gruvbox_termcolors') if !exists('g:gruvbox_termcolors')
let g:gruvbox_termcolors=256 let g:gruvbox_termcolors=256
endif endif
@@ -549,8 +553,12 @@ call s:HL('DiffText', 'dark0', 'yellow')
" Spelling: {{{ " Spelling: {{{
if has("spell") if has("spell")
" Not capitalised word " Not capitalised word, or compile warnings
call s:HL('SpellCap', 'none', 'none', 'undercurl', 'red') if g:gruvbox_improved_warnings == 0
call s:HL('SpellCap', 'none', 'none', 'undercurl', 'red')
else
call s:HL('SpellCap', 'green', 'none', 'italic,bold')
endif
" Not recognized word " Not recognized word
call s:HL('SpellBad', 'none', 'none', 'undercurl', 'blue') call s:HL('SpellBad', 'none', 'none', 'undercurl', 'blue')
" Wrong spelling for selected region " Wrong spelling for selected region