Skip to content

fix: close #9771 fix comments with ( and ) - #9800

Merged
archseer merged 4 commits into
helix-editor:masterfrom
AlexanderBrevig:9771-fix-update-ocaml
Mar 8, 2024
Merged

fix: close #9771 fix comments with ( and )#9800
archseer merged 4 commits into
helix-editor:masterfrom
AlexanderBrevig:9771-fix-update-ocaml

Conversation

@AlexanderBrevig

@AlexanderBrevig AlexanderBrevig commented Mar 4, 2024

Copy link
Copy Markdown
Contributor

Jumped forward three years for the OCaml tree-sitter :)

Fixes #9771 for all languages.

@AlexanderBrevig
AlexanderBrevig marked this pull request as draft March 4, 2024 00:52
@AlexanderBrevig

This comment was marked as resolved.

@AlexanderBrevig

This comment was marked as resolved.

@AlexanderBrevig
AlexanderBrevig marked this pull request as ready for review March 4, 2024 02:25
@AlexanderBrevig

AlexanderBrevig commented Mar 4, 2024

Copy link
Copy Markdown
Contributor Author

I think I'll need help on this

EDIT: thanks for sparring!

This is now fixed.

[
"("
")"
] @punctuation.bracket

Is no longer needed with the new upstream grammar as far as I can tell.

https://github.com/stsewd/tree-sitter-comment/blob/aefcc2813392eb6ffe509aa0fc8b4e9b57413ee1/grammar.js#L75-L78

Comment thread runtime/queries/ocaml/highlights.scm Outdated
Comment thread runtime/queries/ocaml/highlights.scm Outdated
Comment thread runtime/queries/ocaml/highlights.scm Outdated
@the-mikedavis the-mikedavis added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. A-language-support Area: Support for programming/text languages labels Mar 4, 2024
Comment thread runtime/queries/ocaml/highlights.scm Outdated
@AlexanderBrevig

Copy link
Copy Markdown
Contributor Author

Thanks for the review! I'll remember to check against those scopes if I happen to be in this situation again 👍🏻

@AlexanderBrevig AlexanderBrevig changed the title fix: close #9771 update OCaml fix: close #9771 fix comments with ( and ) Mar 4, 2024
@the-mikedavis the-mikedavis added S-waiting-on-review Status: Awaiting review from a maintainer. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Mar 4, 2024
@archseer
archseer merged commit fd89c3c into helix-editor:master Mar 8, 2024
@AlexanderBrevig
AlexanderBrevig deleted the 9771-fix-update-ocaml branch March 8, 2024 08:53
postsolar pushed a commit to postsolar/helix that referenced this pull request Apr 4, 2024
…tor#9800)

* fix: close helix-editor#9771 update OCaml

* fix: no longer match on ( ) as the underlying grammar handles these

* fix: implement excellent corrections from review

* fix: module -> namespace to match theme scopes
mtoohey31 pushed a commit to mtoohey31/helix that referenced this pull request Jun 2, 2024
…tor#9800)

* fix: close helix-editor#9771 update OCaml

* fix: no longer match on ( ) as the underlying grammar handles these

* fix: implement excellent corrections from review

* fix: module -> namespace to match theme scopes
Vulpesx pushed a commit to Vulpesx/helix that referenced this pull request Jun 7, 2024
…tor#9800)

* fix: close helix-editor#9771 update OCaml

* fix: no longer match on ( ) as the underlying grammar handles these

* fix: implement excellent corrections from review

* fix: module -> namespace to match theme scopes
smortime pushed a commit to smortime/helix that referenced this pull request Jul 10, 2024
…tor#9800)

* fix: close helix-editor#9771 update OCaml

* fix: no longer match on ( ) as the underlying grammar handles these

* fix: implement excellent corrections from review

* fix: module -> namespace to match theme scopes
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.

OCaml comment highlight is broken

3 participants