cmp-path
nvim-cmp source for path (by hrsh7th)
crates.nvim
A neovim plugin that helps managing crates.io dependencies (by Saecki)
cmp-path | crates.nvim | |
---|---|---|
6 | 7 | |
523 | 763 | |
- | - | |
0.0 | 8.7 | |
5 months ago | 9 days ago | |
Lua | Lua | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
cmp-path
Posts with mentions or reviews of cmp-path.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-13.
-
Make lsp-zero.nvim coexists with other plugins instead of controlling them
cmp-path: Completion source. Gives suggestions based on the filesystem.
-
File path completion
If you use nvim-cmp there's cmp-path.
-
Neovim LSP: Setup nvim-lspconfig + nvim-cmp
cmp-path
-
nvim-cmp path completion starts as soon as ' or " is used
Do you have the most recent version? It looks like this was fixed recently: https://github.com/hrsh7th/cmp-path/commit/d83839ae510d18530c6d36b662a9e806d4dceb73
-
Seeking a plugin to "detect" folders/files and autofill/prompt when needed
Most auto completion plugins provides path completion enable that. For example for nvim-cmp.
-
How to setup nvim-cmp as nvim-compe?
List of sources can be found here (you probably want cmp-path) so add
crates.nvim
Posts with mentions or reviews of crates.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-26.
-
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.
What are some alternatives?
When comparing cmp-path and crates.nvim you can also consider the following projects:
cmp-cmdline - nvim-cmp source for vim's cmdline
cmp-dictionary - A dictionary completion source for nvim-cmp
nvim-cmp - A completion plugin for neovim coded in Lua.
rust-tools.nvim - Tools for better development in rust using neovim's builtin lsp
cmp-spell - spell source for nvim-cmp based on vim's spellsuggest.
cmp-calc - nvim-cmp source for math calculation
vim-crates - Handle Cargo dependencies like a Rustavimean.
cmp-nvim-lsp - nvim-cmp source for neovim builtin LSP client
cmp-nvim-tags - tags sources for nvim-cmp
cmp-npm - An additional source for nvim-cmp to autocomplete packages and its versions