Partially revert 2a33b49, where all syn match makeIdent are moved before syn region makeIdent to match $() (reason: see #18403 (comment))
However this results in #18890 , because lines like
$(a) =
will first start a region search beginning with $( but then the whole target including ) will be matched by syn match makeIdent "^ *[^:#= \t]*\s*="me=e-1
which leaves the region search for the never-found ) and let the region matching overflow.
Same for
$(a) ::
$(a) +=
The solution is to move those greedy target match back, so they take priority and prevents region match from happening.
Closes: #18890
https://github.com/vim/vim/pull/18938
(1 file)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
@rohieb Could you help review this please?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()