DefaultPackages
DefaultPackages copied to clipboard
Groovy Syntax bug
ST's default Groovy Syntax package does not highlight all double-quoted strings properly. moved from here: https://github.com/SublimeTextIssues/Core/issues/653
easy to reproduce:
/*
MacOSX, ST3, b3065, registered
if Syntax is set to Groovy, foo1 brackets don't match, foo2 & foo3 are OK
if Syntax is set to C, everything's fine.
*/
// BUGGY
int foo1 () {
MYFUNC (" $f) ");
}
// This works OK
int foo2 () {
DEBUG (" $f ");
}
// This also works OK:
int foo3 () {
_DEBUG (" $f) ")
}