Skip to content

The grammars use standard scope names, and the colours follow - #28

Merged
ddehilster merged 1 commit into
mainfrom
fix/standard-scope-names
Oct 13, 2026
Merged

ddehilster merged 1 commit into
mainfrom
fix/standard-scope-names

Conversation

@ddehilster

Copy link
Copy Markdown
Member

Resyncs analyzer-views/src/grammars/ with nlpplus-tmbundle main
(655c78d; was ab5328e), which renamed every invented scope to its
TextMate-convention equivalent (nlpplus-tmbundle#3, vscode-nlp#107).
colors.ts is rewritten through the same old-to-new map the extension
uses to migrate its own rules (vscode-nlp src/language/scopeMigration.ts),
and is again identical, rule for rule, to vscode-nlp's
.vscode/settings.json: 18 light rules, 16 dark.

Rendered through highlight.ts before and after, light and dark, on real
files: .tree and .seq are identical; in .nlp, region markers take the
theme's control-keyword colour, the suggested concept the type colour,
and "=" the operator colour; .dict headwords, keys and values take the
tag, property and string colours; .kbb numbers take the extension's
blue, as they already do in VS Code. The resync also brings the
grammar fixes since ab5328e (block comments in the data formats, the
base modifier and node constants).

analyzer-views: vitest 61/61.

🤖 Generated with Claude Code

Resyncs analyzer-views/src/grammars/ with nlpplus-tmbundle main
(655c78d; was ab5328e), which renamed every invented scope to its
TextMate-convention equivalent (nlpplus-tmbundle#3, vscode-nlp#107).
colors.ts is rewritten through the same old-to-new map the extension
uses to migrate its own rules (vscode-nlp src/language/scopeMigration.ts),
and is again identical, rule for rule, to vscode-nlp's
.vscode/settings.json: 18 light rules, 16 dark.

Rendered through highlight.ts before and after, light and dark, on real
files: .tree and .seq are identical; in .nlp, region markers take the
theme's control-keyword colour, the suggested concept the type colour,
and "=" the operator colour; .dict headwords, keys and values take the
tag, property and string colours; .kbb numbers take the extension's
blue, as they already do in VS Code. The resync also brings the
grammar fixes since ab5328e (block comments in the data formats, the
base modifier and node constants).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ddehilster
ddehilster merged commit e12ad39 into main Oct 13, 2026
2 checks passed
@ddehilster
ddehilster deleted the fix/standard-scope-names branch October 13, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant