Sublime Forum

Makefile syntax update bug

#1

I just updated my sublime installation to the latest dev builc 3147
One of the higlights was an update of the makefile syntax, i love it !
Except there is on major bug in it. (for me)
See i have huge defines like the following :

define macroThatNeedsToBeExecutedInALoop
VAR = $(VAR2) + $(1)




endef

This new syntax recognizes that this part of code is a define, but it treats it as it would be text.
It doesn’t do syntax highlighting on it.
I Would do the fix my self but i dont know how, can i ?

0 Likes

#2

the syntax definitions are open source, so you should open an issue for it at https://github.com/sublimehq/Packages

if you want to fix it yourself, you’ll want to read up on the syntax definition docs:
http://www.sublimetext.com/docs/3/syntax.html
http://www.sublimetext.com/docs/3/scope_naming.html

0 Likes

#3

Hello,
Thank you !!!
I actually did some reading on to this i wanna do my own syntax definitions as well

0 Likes

#4

Glad you like it :thumbsup: The Packages repository can always use more contributors :wink:

0 Likes