VIM: match none command not working when put in .vimrc

Published: 24/03/2019
VIM: match none command not working when put in .vimrc
Source: STACKOVERFLOW.COM

I have the following in my .vimrc syn match ErrorLeadSpace /^ \+/ " highlight any leading spaces syn match ErrorTailSpace / \+$/ " highlight any trailing spaces syn match Error80 /\%>80v.\+/ " highlight anything past 80 in red au FileType c match error /\s\+$\|\%>80v.\+\|[ ][ ]\+\|\n\n\n\+\|,[^ ]\|^[ ]\+[^\*]\|(\s\+\|\s\+)/ au FileType c highlight error ctermbg=r

Read more
Related news
Comment
FACEBOOK