SublimeCImproved icon indicating copy to clipboard operation
SublimeCImproved copied to clipboard

(Goto) labels not given scope

Open detly opened this issue 8 years ago • 0 comments

In the default C highlighting, labels are given the scope entity.name.label. In C Improved, they aren't.

It's easy to miss since I think a lot of schemes ignore it, but I'm hoping to fix that for the ones that I use.

Sample code (I couldn't get a screenshot including the scope lists for some reason):

int main(void)
{
    goto beach;

beach:
    return 0;
}

Bring up the scope list (ctrl+alt+shift+p on my machine) on beach:.

detly avatar Nov 07 '17 03:11 detly