tree-sitter-rust
Rust grammar for tree-sitter (by tree-sitter)
LanguageClient-neovim
Language Server Protocol (LSP) support for vim and neovim. (by autozimu)
tree-sitter-rust | LanguageClient-neovim | |
---|---|---|
8 | 12 | |
372 | 3,550 | |
3.8% | - | |
7.8 | 0.0 | |
about 1 month ago | about 1 year ago | |
JavaScript | Rust | |
MIT License | MIT License |
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?
LanguageClient-neovim
Posts with mentions or reviews of LanguageClient-neovim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-12-27.
-
How to Setup Vim for Kotlin Development
Neovim comes with a client. For Vim you will need to install one, such as CoC, LanguageClient-neovim, or vim-lsp.
- Where to start with LSP in Vim?
-
Simple plugin to display tag under cursor in popup (Vim 8.2+)
i know the language client neovim has such a function (:help languageclient_textdocument_codelens after compiling its helptags). AFAIK you can get that running in Vim 8, but not sure.
-
F# for Linux People
On NeoVim, the built-in LSP client works without modification. On Vim, you will need LanguageClient-neovim.
-
Just wanted to share my enthusiasm when I realised error checking (clangd) could be so fast! :) It's almost instant...
I'm using LanguageClient-neovim. Here's the relevant portions of my init.vim:
-
Using Vim for Everything!
I just saw a nice post in /u/medwatt about using vim for VHDL/Verilog and thought I'd contribute a little! * Syntax and error highlight: https://github.com/autozimu/LanguageClient-neovim * Column align: https://github.com/junegunn/vim-easy-align * Remove annoying whitespaces: https://github.com/ntpeters/vim-better-whitespace * Partial (fuzzy) filename search: https://github.com/junegunn/fzf.vim * Outline all declarations inside a file: â €https://github.com/preservim/tagbar * Treat indentations as vim-objects (useful for languages that don't use { }): https://github.com/michaeljsmith/vim-indent-object There is also mouse support in vim for those who want it. Try typing :set mouse=a. Very useful for resizing windows. I also highly recommend you get good at using folds (https://vim.fandom.com/wiki/Folding). It makes it a LOT easier to navigate files. You can save your fold config per-file with :mkview and load it later with :loadview. If I come up with more hints - I'll mention them in the comments!
-
Neovim's built-in LSP with Ruby and Rails
I've been using LanguageClient and solargraph gem with plain Vim 8 for a long time already. Still, having a bit better experience at Ruby coding with Emacs and its lsp-mode & company & inf-ruby combo.
-
ALE vs YouCompleteMe vs CoC-rust vs LanguageClient-neovim
Might migrate to Neovim's native LSP support at some point, however I find vim-lsp more feature complete out of the box. I used to use LanguageClient-neovim, however, I missed proper support for signature help.
-
Is there a difference between a LSP, code completer, and a linter?
YCM is a client. The client is a plugin for Vim or Neovim, even the "built-in" client in Neovim is just a Lua plugin that is included with the editor, it's not really built-in. Examples of other clients:LanguageClient-neovim, vim-lsp, ale.
-
Is rust-analyzer for neovim ever going to support semantic syntax highlighting?
LanguageClient-neovim just merged some support for semantic tokens and the plan, as I read the PR/issues, is to next implement some default mappings from the semantic tokens to highlight groups.
What are some alternatives?
When comparing tree-sitter-rust and LanguageClient-neovim you can also consider the following projects:
rust-analyzer - A Rust compiler front-end for IDEs
vim-easy-align - :sunflower: A Vim alignment plugin
tree-sitter-graphql - Treesitter grammar for GraphQL
tagbar - Vim plugin that displays tags in a window, ordered by scope
tree-sitter-javascript - Javascript grammar for tree-sitter
clangd - clangd language server
tree-sitter-python - Python grammar for tree-sitter
nvim-lspconfig - Quickstart configs for Nvim LSP
tree-sitter-c - C grammar for tree-sitter
vim-lsp - async language server protocol plugin for vim and neovim
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
Ionide-vim - F# Vim plugin based on FsAutoComplete and LSP protocol
tree-sitter-rust vs rust-analyzer
LanguageClient-neovim vs vim-easy-align
tree-sitter-rust vs tree-sitter-graphql
LanguageClient-neovim vs tagbar
tree-sitter-rust vs tree-sitter-javascript
LanguageClient-neovim vs clangd
tree-sitter-rust vs tree-sitter-python
LanguageClient-neovim vs nvim-lspconfig
tree-sitter-rust vs tree-sitter-c
LanguageClient-neovim vs vim-lsp
tree-sitter-rust vs coc.nvim
LanguageClient-neovim vs Ionide-vim