In vim, is it possible to disable error highlighting for ampersand (&) symbols used by itself?
Asked
Active
Viewed 166 times
0
-
It is practically an error writing literal `&`, what you should write instead is: `&` – Andreas Louv May 16 '16 at 19:55
1 Answers
1
Run this :
:hi Error NONE
It disables error highlighting.
If you want to do it only for a pattern(like &
) then check this.
-
1Thanks a lot! I have followed the link and used `syn match htmlIgnore "&"` on `~/.vim/after/syntax/html.vim` and it works perfectly. – zanona May 17 '16 at 07:38
-