Vim: Restart Syntax Highlighting from Arbitrary Line
I think the best you can do is add an additional syntax rule (in ~/.vim/after/syntax/make.vim
) to match the offending construct. This seems to work:
syn match makeIgnore /subst[ \t]*['"],,/ containedin=makeIdent
The containedin=
is necessary because it's used in a $(...)
construct.