neodev.nvim
rust-tools.nvim
Our great sponsors
neodev.nvim | rust-tools.nvim | |
---|---|---|
49 | 90 | |
1,931 | 2,165 | |
- | - | |
9.1 | 0.0 | |
about 1 month ago | 4 months ago | |
Lua | Lua | |
Apache License 2.0 | 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.
neodev.nvim
-
Configuring Neovim with Fennel
Also the vim API signature is not available using the fennel-language-server In lua you can install neodev and you will get some nice lsp suggestions with the vim API, this is sadly not possible in fennel right now
-
Lsp and files outside nvim/lua/
Other than the root_dir problem, I think the lsp server might have been attached but configuration would be different. For instance, if one is using folke's neodev for API completion (https://github.com/folke/neodev.nvim/issues/158) it would work differently for nvim config files and other lua workspaces.
- Editing init.lua with lua_ls on gives "Undefined global : vim" ?
-
Best way to debug performance issues?
Try to debug what happens on exit, maybe https://neovim.io/doc/user/starting.html#-V works. Regarding nvim-cmp being slow, do you have https://github.com/folke/neodev.nvim installed? If yes, try removing it and checking if it's an issue. It's been slowing down my completion for a while until I pinpointed the issue (and it was slowing it down always, not just when editing lua code).
-
Unable to setup lua_ls, though other servers work
You can try neodev.nvim. It's really great especially if you're planning for plugin development.
-
Help with autocomplete for plugins
Are you using https://github.com/folke/neodev.nvim ?
- how to fix LSP , vim undefined!
-
Get Lua LSP to know about vim.api
Okay i figured it out myself https://github.com/folke/neodev.nvim provides lua files with the required type signatures.
- LSP for your lua config
- Amazing LSP for your lua config
rust-tools.nvim
-
[Experimental] Auto find Rust executables for DAP | Linux
This is not a robust solution to the problem. I haven't worked on a large Rust project, so I do not know if this is valid for all kinds of Rust projects. Maybe there is a better debugging config setups/plugins out there (simrat39/rust-tools.nvim is one from what I have searched for). I plan to keep using this config, till it breaks; and try and fix it when it does.
-
NeoVim IDE setup
rust-tools is what I'm currently using, https://github.com/simrat39/rust-tools.nvim
-
What editor are you using for Rust?
I then took the snippet from, I also changed the path to the correct install path of the above. https://github.com/simrat39/rust-tools.nvim/wiki/Debugging
-
Neovim & Rust
rust-tools.nvim and crates.nvim should be helpful for you. :)
-
What's your current Vim+Rust setup?
I'd start with nvim-treesitter, nvim-lspconfig, and use rust-tools.nvim as an accelerant. Any remaining advice I'd have is about Neovim but not about Rust. That advice would also be mostly questions of taste for this-or-that decisions.
-
Refactoring
Are you using https://github.com/simrat39/rust-tools.nvim/ ?
-
Rust + Neovim setup gotcha
TIL that if you install Rust via Homebrew (like brew install rust), auto formatting (or more specifically, lsp formatting) doesn't work properly. I used both Rust Analyzer and rust-tools) to setup rust lsp and configured it with tons of options, thinking maybe something will work but somehow, one thing never did - auto formatting. This is the command I use for setting up auto formatting via lsp:
-
What setup do you use to program in rust?
neovim + native lsp with rust-tools.nvim, running nixos so I use flakes for my dev environments
- [Neovim] Rust-tools.nvim: outils pour des fonctionnalités supplémentaires sur Rust Analyzer
-
NVim, Rust, LSP (rust-analyzer + rust-tools) issue
I opened an issue https://github.com/simrat39/rust-tools.nvim/issues/369 after searching for such behavior in existing ones. But I also ask here in case it's a known problem.
What are some alternatives?
neogen - A better annotation generator. Supports multiple languages and annotation conventions.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
nvim-lspconfig - Quickstart configs for Nvim LSP
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
nvim-cmp - A completion plugin for neovim coded in Lua.
helix - A post-modern modal text editor.
nvim-lua-guide - A guide to using Lua in Neovim
IntelliJ-EmmyLua - Lua IDE/Debugger Plugin for IntelliJ IDEA
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
neoconf.nvim - 💼 Neovim plugin to manage global and project-local settings
lsp_extensions.nvim - Repo to hold a bunch of info & extension callbacks for built-in LSP. Use at your own risk :wink: