micro
micro copied to clipboard
Fix Makefile syntax matching := and : as targets
Before and after:
This change would cause recipes like a:b
(without space) to get highlighted wrong. I would argue in your example VCAM_CORE
should be highlighted as an identifier. Maybe the pattern for identifier should instead be changed to something like this?
- identifier: "^[A-Za-z0-9_./-]+"
(I'm unsure which special characters should be allowed though)
That's not a bad idea, also would need to recognize wildcard %.o
targets:
- identifier: "^[%A-Za-z0-9_./-]+"