Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Scala tree-sitter grammar #9348

Merged
merged 2 commits into from
Jan 22, 2024

Conversation

jpaju
Copy link
Contributor

@jpaju jpaju commented Jan 15, 2024

Updates Scala grammar to the latest commit in master.

I verified quickly that everything seems still working.

Fixes multiple things, at least:

  • Scala 3 braceless try-catch highlighting in one-liner catch clause
  • Enables text object queries for block lambdas and Scala 3 fewer braces lambdas
  • Highlights scala-cli using directives

the-mikedavis
the-mikedavis previously approved these changes Jan 16, 2024
@the-mikedavis the-mikedavis added S-waiting-on-review Status: Awaiting review from a maintainer. A-language-support Area: Support for programming/text languages labels Jan 16, 2024
Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
@pascalkuthe pascalkuthe merged commit 9ed3dc5 into helix-editor:master Jan 22, 2024
6 checks passed
@jpaju jpaju deleted the update-scala-grammar branch January 23, 2024 09:36
hamrik pushed a commit to hamrik/helix that referenced this pull request Jan 27, 2024
* Update Scala tree-sitter grammar

* Support block comments

Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
dgkf pushed a commit to dgkf/helix that referenced this pull request Jan 30, 2024
* Update Scala tree-sitter grammar

* Support block comments

Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
postsolar pushed a commit to postsolar/helix that referenced this pull request Apr 4, 2024
* Update Scala tree-sitter grammar

* Support block comments

Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
* Update Scala tree-sitter grammar

* Support block comments

Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
Vulpesx pushed a commit to Vulpesx/helix that referenced this pull request Jun 7, 2024
* Update Scala tree-sitter grammar

* Support block comments

Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
* Update Scala tree-sitter grammar

* Support block comments

Modify comment handling in textobjects and highlights to support new TS-scala node type 'block_comment'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-language-support Area: Support for programming/text languages S-waiting-on-review Status: Awaiting review from a maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants