3

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.

Rob Bednark
  • 25,981
  • 23
  • 80
  • 125
Narayana
  • 323
  • 3
  • 16
  • Possible duplicate of [Override colorscheme](https://stackoverflow.com/questions/2440149/override-colorscheme). Your plugin will be sourced after your `.vimrc`, so you can't override plugin colors like this. – Doktor OSwaldo May 02 '18 at 05:46
  • @DoktorOSwaldo I figured out that I had another linter running in the background :( – Narayana May 03 '18 at 15:41

1 Answers1

1

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

Solved by removing that linter.

Narayana
  • 323
  • 3
  • 16
  • 1
    Do you know what linter was running that causing this? I'm having similar issues but with a Vue file. – svajone Nov 27 '20 at 07:16