nickspoons / vim-cs

Official Vim Runtime Files for C#
9 stars 3 forks source link

Highlight record as a keyword #59

Closed dkearns closed 2 years ago

dkearns commented 2 years ago

This is probably incomplete and the implementation could be improved using nextgroup rather than the look-behind but that might be better implemented as a more general strategy.

@nickspoons, I don't think this causes any harm so it may as well go in for Vim 9 if you have no objections.

Fixes issue #36.

nickspoons commented 2 years ago

Yes I agree, this looks good to me. I don't know whether nextgroup is better than the look-behind, I'll leave that to you. Feel free to merge it when you're ready.