Search code examples
vimvim-pluginvim-ale

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.


Solution

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

    Solved by removing that linter.