crates.nvim
package-info.nvim
Our great sponsors
crates.nvim | package-info.nvim | |
---|---|---|
7 | 3 | |
757 | 441 | |
- | - | |
8.8 | 3.8 | |
13 days ago | 2 months ago | |
Lua | Lua | |
MIT License | 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.
crates.nvim
-
Neovim & Rust
rust-tools.nvim and crates.nvim should be helpful for you. :)
-
There are no latest crate versions in Nvim 0.9.0
FYI: The versions come from the Saecki/crates.nvim plugin.
- How would you add a plugin like this?
-
Load plugins outside of init.lua?
Hello! I'm trying to break up my existing init.lua file into multiple files according to the existing vim rtp. For example, I'm a rust developer and the crates plugin is extremely helpful for me but it's only ever useful when I'm editing Cargo.toml files. As a result I've put the plugin in pack/plugins/opt/ and I packadd crates.nvim in my init.lua file. This actually works nicely but when I try to factor the config and loading of this plugin into ftplugin/toml.lua it doesn't load despite it indicating that the file was sourced in the output of --startuptime. Curiously if I initialize the plugin in init.lua and then modify the config in ftplugin/toml.lua the updated config is used. So it seems like toml.lua can modify an already loaded plugin but can't load one itself. Is this the case? I'd very much like to relegate all toml related configs to its ftplugin file.
-
Has anyone transitioned from a JetBrains's IDE to neovim?
github.com/Saecki/crates.nvim
-
🚀 Package-info 2.0 released. Delete, update, install new, install specific versions of packages. GIFs inside.
crates.nvim maybe?
-
crates.nvim - a helper for managing crates.io versions
So to fix the shortcomings I felt with vim-crates and to teach myself a bit of lua I created crates.nvim. It sports a nvim-cmp completion source, a popup that list all versions for a crate, live updates while editing and some more stuff that I found to be useful.
package-info.nvim
-
Node package check
Nice! Another option is https://github.com/vuki656/package-info.nvim
-
What are good general guidelines/tips for someone writing a plugin in Lua?
Keep the code splitting simple. When i was writing initial version of package-info I split stuff into multiple files, tried to make it all "nice" and organized. What that did is just complicated things and when and
-
🚀 Package-info 2.0 released. Delete, update, install new, install specific versions of packages. GIFs inside.
TLDR: besides showing outdated npm packages as virtual text, now you can install new, delete, update to the latest, change the version to specific. Check the docs here. And the breaking change note here.
What are some alternatives?
cmp-dictionary - A dictionary completion source for nvim-cmp
orgmode - Orgmode clone written in Lua for Neovim 0.9+.
rust-tools.nvim - Tools for better development in rust using neovim's builtin lsp
trouble.nvim - 🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
nvim-cmp - A completion plugin for neovim coded in Lua.
baleia.nvim - Colorize text with ANSI escape sequences (8, 16, 256 or TrueColor)
vim-crates - Handle Cargo dependencies like a Rustavimean.
orgmode.nvim - Orgmode clone written in Lua for Neovim 0.7+. [Moved to: https://github.com/nvim-orgmode/orgmode]
cmp-nvim-tags - tags sources for nvim-cmp
which-key.nvim - 💥 Create key bindings that stick. WhichKey is a lua plugin for Neovim 0.5 that displays a popup with possible keybindings of the command you started typing.
cmp-spell - spell source for nvim-cmp based on vim's spellsuggest.
plugin-template.nvim - A template to create Neovim plugins written in Lua