tree-sitter-rust
coc.nvim
tree-sitter-rust | coc.nvim | |
---|---|---|
8 | 322 | |
372 | 24,591 | |
2.7% | 0.4% | |
7.8 | 9.1 | |
about 1 month ago | 5 days ago | |
JavaScript | TypeScript | |
MIT License | GNU General Public License v3.0 or later |
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
-
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?
coc.nvim
-
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.
-
Lite 🚀 ApolloNvim Distro 2024
👉 With LSP in this installation, I use Coc for its simplicity without the need to intervene in the Coc configuration. LSP has been very useful in my Helix modal editor to configure Helixu.
-
I can't stand using VSCode so I wrote my own (it wasn't easy)
As well as its own plugins Vim/NeoVim can use VSCode's LSPs, DAPs and extensions either directly or via plugins like CoC[1] and Mason[2].
I would be surprised if emacs couldn't do the same.
1. https://github.com/neoclide/coc.nvim
-
Existing non-lua plugins examples
The most famous TypeScript one probably is coc.nvim
-
ready to use neovim for web development (frontend) - beginners
It is flatly the wrong mindset to think of vim as an IDE. vim is a code editor: get in, make change, get out. Consider vim koans, which are a fun little read. You can throw coc.nvim at Neovim, along with a few other bits to give you a Good Enough setup, but vim isn't and will never be an IDE.
-
Using CoC inlay hints
I just did a fresh reinstall of CoC, on a newer version of Neovim. I'm now seeing something I hadn't seen before, which CoC calls "inlay hints". They look like this:
-
C# lsp configuration with neovim CoC
I'm currently on an old setup (using coc and polyglot) and nvim v0.6.1. I'll be updating to a more modern setup within next year, using the native lsp and building nvim more frequently. But that's not today.
-
Does anyone know some good altermatives for these Vim plugins on Emacs?
coc.nvim
-
LazyVim
There are some plugins which have the best documentations I have ever seen, but you need to read it from the Vim.
Example of coc.nvim: https://github.com/neoclide/coc.nvim/blob/master/doc/coc.txt
-
Resources on learning bash scripting
Actually you can with coc.nvim & coc-sh. So long as shellcheck is also installed and in PATH, it'll integrate with coc/vim just fine.
What are some alternatives?
rust-analyzer - A Rust compiler front-end for IDEs
YouCompleteMe - A code-completion engine for Vim
tree-sitter-graphql - Treesitter grammar for GraphQL
vim-lsp - async language server protocol plugin for vim and neovim
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
LanguageClient-neovim - Language Server Protocol (LSP) support for vim and neovim.
nvim-cmp - A completion plugin for neovim coded in Lua.
rust-analyzer - A Rust compiler front-end for IDEs [Moved to: https://github.com/rust-lang/rust-analyzer]
nvim-lspconfig - Quickstart configs for Nvim LSP
rust.vim - Vim configuration for Rust.
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.