tree-sitter-rust
Rust grammar for tree-sitter (by tree-sitter)
rust.vim
Vim configuration for Rust. (by Iron-E)
tree-sitter-rust | rust.vim | |
---|---|---|
8 | 1 | |
372 | 0 | |
3.8% | - | |
7.8 | 0.0 | |
about 1 month ago | almost 2 years ago | |
JavaScript | Vim Script | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
tree-sitter-rust
Posts with mentions or reviews of tree-sitter-rust.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-20.
-
Topiary: A code formatting engine leveraging Tree-sitter
Yes. It's typically a fair bit slower than a hand-coded parser. The idea sounds great until you're working on a codebase with 2 million LOC. At that point, the speed of a cold parse is most important, whereas TS is designed for fast re-parsing of a single file. These aren't great numbers but the Rust TS parser is reportedly 2x slower than rustc's https://github.com/tree-sitter/tree-sitter-rust. It's no surprise that you just use the faster option if it's convenient.
- Emacs and Java Development: Corfu + Cape + LSP-Mode + Treesit
- Treesitter large file performance... Even with everything disabled?
- Building tree-sitter languages for Emacs
-
Is it possible to have Rust doc test comments highlighted in Neovim?
Notes for anyone interested, there is this PR https://github.com/tree-sitter/tree-sitter-rust/pull/128, which merges successive doc comments.
-
Rust and Neovim - A Thorough Guide and Walkthrough
Tree-sitter is a fantastic parser generation and incremental parsing library, that supports Rust language bindings and has an available parser Rust tree-sitter-rust.
-
Plugins to help writing a new tree-sitter parser?
You can see a much more in-depth version at https://github.com/tree-sitter/tree-sitter-typescript or https://github.com/tree-sitter/tree-sitter-rust
-
Is rust-analyzer for neovim ever going to support semantic syntax highlighting?
I'll be really interested to see what folks end up preferring once nvim 0.5 ships with treesitter support. Do folks have any experience with the Rust grammar?
rust.vim
Posts with mentions or reviews of rust.vim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-25.
-
Is rust-analyzer for neovim ever going to support semantic syntax highlighting?
Check out my fork of rust.vim, which has type highlighting. It isn't LSP-based so it isn't what you're asking for, but it'll hold you off.
What are some alternatives?
When comparing tree-sitter-rust and rust.vim you can also consider the following projects:
rust-analyzer - A Rust compiler front-end for IDEs
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
tree-sitter-graphql - Treesitter grammar for GraphQL
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
tree-sitter-javascript - Javascript grammar for tree-sitter
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
tree-sitter-python - Python grammar for tree-sitter
neovide - No Nonsense Neovim Client in Rust
tree-sitter-c - C grammar for tree-sitter
tree-sitter-rust vs rust-analyzer
rust.vim vs coc.nvim
tree-sitter-rust vs LanguageClient-neovim
rust.vim vs LanguageClient-neovim
tree-sitter-rust vs tree-sitter-graphql
rust.vim vs rust-analyzer
tree-sitter-rust vs tree-sitter-javascript
rust.vim vs nvim-treesitter
tree-sitter-rust vs tree-sitter-python
rust.vim vs neovide
tree-sitter-rust vs tree-sitter-c
tree-sitter-rust vs coc.nvim