Narayana
Narayana

Reputation: 333

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.

Upvotes: 3

Views: 2644

Answers (1)

Narayana
Narayana

Reputation: 333

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

Solved by removing that linter.

Upvotes: 1

Related Questions