Skip to content

Groovy Syntax bug #97

@ghost

Description

ST's default Groovy Syntax package does not highlight all double-quoted strings properly.
moved from here: sublimehq/sublime_text#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) ")
}

Screenshot

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions