@@ -370,26 +370,26 @@ function! s:SetUpSigns()
370
370
371
371
if ! hlexists ( ' YcmErrorSign' )
372
372
if hlexists ( ' SyntasticErrorSign' )
373
- highlight link YcmErrorSign SyntasticErrorSign
373
+ highlight default link YcmErrorSign SyntasticErrorSign
374
374
else
375
- highlight link YcmErrorSign error
375
+ highlight default link YcmErrorSign error
376
376
endif
377
377
endif
378
378
379
379
if ! hlexists ( ' YcmWarningSign' )
380
380
if hlexists ( ' SyntasticWarningSign' )
381
- highlight link YcmWarningSign SyntasticWarningSign
381
+ highlight default link YcmWarningSign SyntasticWarningSign
382
382
else
383
- highlight link YcmWarningSign todo
383
+ highlight default link YcmWarningSign todo
384
384
endif
385
385
endif
386
386
387
387
if ! hlexists ( ' YcmErrorLine' )
388
- highlight link YcmErrorLine SyntasticErrorLine
388
+ highlight default link YcmErrorLine SyntasticErrorLine
389
389
endif
390
390
391
391
if ! hlexists ( ' YcmWarningLine' )
392
- highlight link YcmWarningLine SyntasticWarningLine
392
+ highlight default link YcmWarningLine SyntasticWarningLine
393
393
endif
394
394
395
395
exe ' sign define YcmError text=' . g: ycm_error_symbol .
@@ -406,17 +406,17 @@ function! s:SetUpSyntaxHighlighting()
406
406
407
407
if ! hlexists ( ' YcmErrorSection' )
408
408
if hlexists ( ' SyntasticError' )
409
- highlight link YcmErrorSection SyntasticError
409
+ highlight default link YcmErrorSection SyntasticError
410
410
else
411
- highlight link YcmErrorSection SpellBad
411
+ highlight default link YcmErrorSection SpellBad
412
412
endif
413
413
endif
414
414
415
415
if ! hlexists ( ' YcmWarningSection' )
416
416
if hlexists ( ' SyntasticWarning' )
417
- highlight link YcmWarningSection SyntasticWarning
417
+ highlight default link YcmWarningSection SyntasticWarning
418
418
else
419
- highlight link YcmWarningSection SpellCap
419
+ highlight default link YcmWarningSection SpellCap
420
420
endif
421
421
endif
422
422
endfunction
0 commit comments