This question already has an answer here:
I have two
match lines in my vimrc. they work when they are used by themselves but when i try to uncomment both i don't get any
" highlight spaces used for indenting match Visual /^\t*\zs \+/ " highlight overlength characters match Visual /\%81v.\+/
How do you get both
match "indenting spaces" and
match "characters past 80 column" to match at the same time?
Rewriting the original question to be more generic: How do you get two
matches at the same time to work?
p.s. If you are wondering why I have these specific
matches are used to help enforce the correct indentation style (the above
matches are for tab-indentation and I have some
matches for spaces-indentation).