go-tree-sitter
tree-sitter-comment
Our great sponsors
go-tree-sitter | tree-sitter-comment | |
---|---|---|
1 | 3 | |
148 | 87 | |
- | - | |
6.6 | 1.3 | |
17 days ago | 10 months ago | |
C | C | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
go-tree-sitter
We haven't tracked posts mentioning go-tree-sitter yet.
Tracking mentions began in Dec 2020.
tree-sitter-comment
-
paint.nvim: Simple Neovim plugin to easily add additional highlights to your buffers
The reason I implemented this is because of the slow performance of tree-sitter-comment in large files. Treesitter will inject the comment language for every line comment, which is far from ideal. I've disabled the comment parser, but still wanted to see @something highlighted in Lua comments.
-
Treesitter query not working
The right most window shows the code I want to query. This is a .cpp file, so the main-language is C++. For highlighting the two comments, I'm using tree-sitter-comment. This plugin injects the comment-language. I want to query all tag nodes from this injected language, but this query does not work.
-
Is it possible to get highlight on these comments docs with treesitter?
You can install this parser for treesitter which highlights comments :)
What are some alternatives?
tree-sitter-go-template - Golang template grammar for tree-sitter
tsdoc - A doc comment standard for TypeScript
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
tree-sitter-embedded-template - Tree-sitter grammar for embedded template languages like ERB, EJS
tree-sitter-racket - Racket grammar for tree-sitter
mechanical.nvim - Dark theme for Neovim >= 0.5 written in lua
syntax-highlighter - Syntax Highlighter extension for Visual Studio Code (VSCode). Based on Tree-sitter.
giscus - A comment system powered by GitHub Discussions. :octocat: :speech_balloon: :gem:
grove - Universal AST parser built on Tree-sitter
playground - Treesitter playground integrated into Neovim