language-scala icon indicating copy to clipboard operation
language-scala copied to clipboard

Syntax highlighting breaks when nesting

Open niij opened this issue 9 years ago • 3 comments

Atom 1.8.0 language-scala 1.1.6

screen shot 2016-07-18 at 1 21 45 pm

The first right-bracket shows highlights correctly, but all right brackets after the first closing bracket are not highlighted.

niij avatar Jul 18 '16 18:07 niij

This issue is still present, but I'm closing due to inactivity.

niij avatar Apr 26 '18 14:04 niij

@niij I don't think that closing it helps anything (except attracting attention which could be done by a simple comment).

It's hard to deal with the regexp-based grammar definitions, so only few people feel confident to contribute to this repo, but still it's the only option we have in Atom at the moment. So even if not fixing this bug, let's keep it open to keep the track of the known problems.

By the way, an opportunity to change this situation is contributing to the https://github.com/tree-sitter/tree-sitter-scala project, it's will very likely become a successor of this syntax definition and, hopefully, a much better one.

laughedelic avatar Apr 26 '18 15:04 laughedelic

Sure I can reopen it! I just didn't want to clutter up this repo with a 2 year old issue that's pretty minor.

niij avatar Apr 26 '18 15:04 niij