Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim ALE error highlighting not changing

I am using a vim pluggin called ALE. But the error and warning highlighting does not go with my theme. So I am trying to change the colour or even switch it off, but nothing seems to work.

None of the following commands work when set in .vimrc

let g:ale_set_highlights = 0 " Disable highligting

highlight ALEWarning ctermbg=DarkMagenta 
highlight ALEError ctermbg=DarkMagenta

highlight ALEError ctermbg=none cterm=underline 
highlight ALEWarning ctermbg=none cterm=underline

This is what my vim highlight colour always looks like:

enter image description here

I am using: 'xterm-256color' And the highlighting only occurs on typescript files.

like image 541
Narayana Avatar asked Dec 19 '25 22:12

Narayana


1 Answers

I had another linter running in the background that would alter the settings.

Solved by removing that linter.

like image 126
Narayana Avatar answered Dec 21 '25 21:12

Narayana



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!