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

Add highlight.scm #93

Merged
merged 3 commits into from
Aug 22, 2024
Merged

Add highlight.scm #93

merged 3 commits into from
Aug 22, 2024

Conversation

theHamsta
Copy link
Member

@theHamsta theHamsta commented Aug 20, 2024

@clason does tree-sitter highlight have any documented guidelines for upstream queries? I tried to follow tree-sitter-cpp, tree-sitter-c. locals.scm/injection.scm could be added following nvim-treesitter

Rust crate needs update for the query constants

Fixes #91

@theHamsta theHamsta force-pushed the remove-hightlighs-advertisment branch from 0aa51ff to 531467c Compare August 20, 2024 21:59
@theHamsta theHamsta mentioned this pull request Aug 20, 2024
2 tasks
@clason
Copy link
Contributor

clason commented Aug 20, 2024

@clason does tree-sitter highlight have any documented guidelines for upstream queries?

I am not aware of any. Github added a set of "base captures" to tree-sitter, but that's fan fiction as far as I am concerned. For this org, though, nvim-treesitter queries are the standard, so just upstream those.

@theHamsta theHamsta force-pushed the remove-hightlighs-advertisment branch from 14c8828 to 97a0b8c Compare August 22, 2024 20:44
@theHamsta theHamsta enabled auto-merge (rebase) August 22, 2024 20:45
auto-merge was automatically disabled August 22, 2024 20:45

Head branch was modified

@theHamsta theHamsta force-pushed the remove-hightlighs-advertisment branch from 97a0b8c to ea38be6 Compare August 22, 2024 20:45
@theHamsta theHamsta enabled auto-merge (rebase) August 22, 2024 20:45
@theHamsta theHamsta merged commit 9de3b5e into master Aug 22, 2024
1 check passed
@theHamsta theHamsta deleted the remove-hightlighs-advertisment branch August 22, 2024 20:46
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.

bug: no highlights.scm
2 participants