crates.nvim
dotfiles
Our great sponsors
crates.nvim | dotfiles | |
---|---|---|
7 | 4 | |
757 | 9 | |
- | - | |
8.8 | 7.5 | |
13 days ago | 10 days ago | |
Lua | Shell | |
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.
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.
dotfiles
-
Line number, relative number or no number at all
Yeah pretty much... I used the augroup from this blog post, which ends up looking like this in my Lua-based config:
-
🚀 Package-info 2.0 released. Delete, update, install new, install specific versions of packages. GIFs inside.
I'll try! Dotfiles: init.lua which requires plugins.lua and uses Paq to manage packages...
-
nvim-cartographer: a light plugin for better :map syntax in Lua
Dotfiles here, mappings here if you'd like to look, thanks!
-
0.5 Feature Freeze (6/16/2021 at 16:00 UTC)
(If you're curious, here's where I am so far. I haven't done anything with LSP / Treesitter yet, but I miss my toggle-fold shortcut, so that might be next... Also haven't gotten a custom vimscript function to play nice with vim-startify.)
What are some alternatives?
cmp-dictionary - A dictionary completion source for nvim-cmp
nvim-cartographer - Create Neovim `:map`pings in Lua with ease!
rust-tools.nvim - Tools for better development in rust using neovim's builtin lsp
RelOps - Relative line numbers for pending operations
nvim-cmp - A completion plugin for neovim coded in Lua.
paq-nvim - 🌚 Neovim package manager
vim-crates - Handle Cargo dependencies like a Rustavimean.
cmp-nvim-tags - tags sources for nvim-cmp
cmp-spell - spell source for nvim-cmp based on vim's spellsuggest.
package-info.nvim - ✍️ All the npm/yarn/pnpm commands I don't want to type
fidget.nvim - 💫 Extensible UI for Neovim notifications and LSP progress messages.
cmp-npm - An additional source for nvim-cmp to autocomplete packages and its versions