Simple question -- what is the difference between the two? When I try, for example, to highlight characters on every line after the 80th with highlight link OverLength Error (OverLength being an arbitrary syntax name), usingmatch OverLength /\%80v.\+/highlights the characters as desired, butsyntax match OverLength /\%80v.\+/does not. What's going on here? Is use of the syntax sub-commands restricted to files in the .vim/syntax folder? What would even be the rationale for that?
Syntax highlighting: what is the difference between :syntax match and :match?
vimrc;vimscript;syntax highlighting