rust-analyzer
Neovim-from-scratch
Our great sponsors
rust-analyzer | Neovim-from-scratch | |
---|---|---|
132 | 81 | |
13,479 | 5,223 | |
2.4% | 1.3% | |
10.0 | 5.0 | |
about 13 hours ago | 15 days ago | |
Rust | Lua | |
Apache License 2.0 | GNU General Public License v3.0 only |
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.
rust-analyzer
-
Cranelift code generation comes to Rust
go build 3.62s user 0.76s system 171% cpu 2.545 total
I was looking forward to parallel front-end[4], but I have not seen any improvement for these small changes.
-
A guide on Neovim's LSP client
For example, intelephense can show diagnostics in real time, there is no need to save the file to get new diagnostics. But rust-analyzer, the language server for rust, can only update diagnostics after saving the file.
-
Top 10 Rusty Repositories for you to start your Open Source Journey
6. Rust Analyzer
-
LSP could have been better
Agree this is not a problem. rust-analyzer also includes a boatload of custom extensions. Here's how "query type of selected expression" works, for example:
https://github.com/rust-lang/rust-analyzer/blob/master/docs/...
For example: https://github.com/rust-lang/rust-analyzer/blob/master/docs/...
> If you create an LSP, it will work best in VS Code.
Any editor can work just as well as (or even better than) VS Code.
-
Mastering Emacs: What's new in Emacs 29.1
I am not a Rust dev. It surely looks great.
However, from what I understand it seems to supply just a parser separate from the Rust compiler (https://github.com/rust-lang/rust-analyzer/tree/master/crate...) trying to keep up with Rustโs development. So, in principle, it could have been just another treesitter parser plugin, too.
So, again, the LSP framework does not directly provide any magical benefit over a static parsing framework. All the semantic analysis capabilities stem from a good parser.
-
rust-analyzer significantly slowing down compilation
You may file issue at github rust-analyzer
-
Any new Opensource projects in (rust) looking for contributors. I want to start my journey as an OSS contributor.
I've contributed to rust-analyzer and nushell and had a great experience in both! Tons of open issues with a huge range of difficulties, and the maintainers are really helpful in providing hints to get started.
-
I want to contribute in a big project
For something more concrete you can try and ask around on their zulip or browse their issues.
-
Microsoft is rewriting core Windows libraries in Rust
More info here: https://rust-analyzer.github.io/ and here: https://rust-analyzer.github.io/manual.html#installation
Neovim-from-scratch
-
How to configure vim like an IDE
They also provide a "from-scratch" option, to be easier to understand
-
New User C Setup Help?
I would recommend the Neovim from Scratch series on Youtube with the addition of the code_runner.nvim plugin. It's a good config that will teach you a lot about configuring Neovim. code_runner.nvim is a nice addition, especially for a university student. Good luck!
-
How to learn neovim
I don't know myself how I learned neovim, but I started with using a repo called Neovim-from-scratch, but I'm not sure if it's still up to date, but I used it as my base config then started to add plugins I want and remove plugins I don't need. Most of the people recommend kickstart.nvim now as base config for neovim lua config.
- [nvChad] lspconfig
- Is there a good neovim plugin that integrates a pre-configured lsp+treesitter+telescope?
-
Help with getting started with Neovim
This is the GitHub repo for the aforementioned playlist.
-
Opinions on pre-made configurations (e.g. LunarVim, AstroNvim)
I would recommend LazyVim or Kickstart.nvim. If you don't want to do any configuration, LunarVim might be for you. I would recommend the Neovim from Scratch config since it is very good and essentially has an accompanying guide. However, it is slightly out of date and needs a few tweaks to work properly.
- Migrating from VSCode to Neovim
- Hey everyone . I am trying to write my nvim configuration in lua . I am following neovim from scratch but i am facing issues from plugin like cmp-buffer , cmp-path , cmp-cmdline . I can't figure whats is the actual problem . Thank You for reading
-
Any web developers here (front end back end full stack)?
This is my setup. I mostly develop in Python for work, but also develop a lot of .yaml and .sh for automation, docker, etc. A lot going on in this nvim setup. I took the base from neovim-from-scratch [here](https://github.com/LunarVim/Neovim-from-scratch) . And the make of LunarVim has some great videos to show you how to write out your neovim setup in Lua. If you're more of a WASM, Rust, JS guy, then ThePrimeagen might be a good place for you to go. I mixed and matched everything I have. Added copilot and chatGPT. You have to drive this thing though. And you really have to know what you're trying to write, otherwise those applications will take you down a deep dark path of trying to debug garbage code.
What are some alternatives?
LunarVim - ๐ LunarVim is an IDE layer for Neovim. Completely free and community driven.
vscode-rust - Rust extension for Visual Studio Code
kickstart.nvim - A launch point for your personal nvim configuration
intellij-rust - Rust plugin for the IntelliJ Platform
AstroNvim - AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
rustfmt - Format Rust code
sublime-rust - The official Sublime Text 4 package for the Rust Programming Language
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
coc-rust-analyzer - rust-analyzer extension for coc.nvim
eglot - A client for Language Server Protocol servers
LazyVim - Neovim config for the lazy
typescript-language-server - TypeScript & JavaScript Language Server