crates.nvim
cmp-nvim-lsp
Our great sponsors
crates.nvim | cmp-nvim-lsp | |
---|---|---|
7 | 22 | |
757 | 1,038 | |
- | - | |
8.8 | 5.1 | |
13 days ago | 3 months ago | |
Lua | Lua | |
MIT License | 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.
cmp-nvim-lsp
-
[Need Help]: I am having trouble getting autocomplete with clangd.
You need to add nvim-cmp and cmp-nvim-lsp
-
Neovim lsp not updating (Nuxt 3 auto import)
I had the exact problem recently with svelte and Astro. I opened an issue that never got any reply.: https://github.com/hrsh7th/cmp-nvim-lsp/issues/56
-
Trouble with installing cmp/lsp autocompletion
Plugins Needed: * nvim-lspconfig * nvim-cmp * cmp-nvim-lsp
-
How to setup auto completion, etc. using LSP and stuff without bloating everything with a plugin manager?
-- need to install https://github.com/hrsh7th/cmp-nvim-lsp for server in pairs(servers) do lspconfig[server].setup { on_attach = on_attach, capabilities = require("cmp_nvim_lsp").default_capabilities(), settings = servers[server], } end ```
-
Make lsp-zero.nvim coexists with other plugins instead of controlling them
cmp-nvim-lsp: Completion source. Shows data send by the language server.
-
Jdt.ls doesn't work in nvim-lspconfig
The default capabilities are from this plugin: https://github.com/hrsh7th/cmp-nvim-lsp
-
Neovim - Workflow para Java, C# e JS/TypeScript (AtualizaĆ§Ć£o com Neovim 0.8 e LSP)
cmp-nvim-lsp: integraĆ§Ć£o com LSP;
-
How to have LSPs installed with Mason automatically hook up to cmp and work?
nvim-lspconfig is only for configuring the language-servers. You need to add the https://github.com/hrsh7th/cmp-nvim-lsp source to nvim-cmp in order to get lsp completions
-
cmp_nvim_lsp.update_capabilities is deprecated, use cmp_nvim_lsp.default_capabilities instead. See :h deprecated This function will be removed in cmp-nvim-lsp version 1.0.0
Peeking at the code, it is explicitly called out in the function update_capabilities here
-
Is it a bad config or cmp isn't as smart as VSCode autocompletion?
Yep. Make sure you have cmp-nvim-lsp installed, as well as an LSP server running.
What are some alternatives?
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
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
lspkind.nvim - vscode-like pictograms for neovim lsp completion items
vim-crates - Handle Cargo dependencies like a Rustavimean.
lspkind-nvim - vscode-like pictograms for neovim lsp completion items [Moved to: https://github.com/onsails/lspkind.nvim]
cmp-nvim-tags - tags sources for nvim-cmp
nvim-lspconfig - Quickstart configs for Nvim LSP
cmp-spell - spell source for nvim-cmp based on vim's spellsuggest.
nvim-compe - Auto completion Lua plugin for nvim