cmp-buffer
cmp-nvim-lsp
Our great sponsors
cmp-buffer | cmp-nvim-lsp | |
---|---|---|
10 | 22 | |
505 | 1,032 | |
- | - | |
0.0 | 5.1 | |
5 months 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.
cmp-buffer
- Best way to limit string length tokenized for completion suggestion in cmp/buffer?
-
Need some help with cmp suggestion priority / order
sources = cmp.config.sources({ { name = "nvim_lsp", priority = 1, group_index = 1 }, { name = "luasnip" }, { group_index = 2, name = "buffer", priority = 5, option = { -- https://github.com/hrsh7th/cmp-buffer get_bufnrs = function() return vim.api.nvim_list_bufs() end, }, }, { name = "nvim_lsp_signature_help" }, { name = "path" }, }),
-
Make lsp-zero.nvim coexists with other plugins instead of controlling them
cmp-buffer: Completion source. It provides suggestions based on the current file.
-
Why use cmp-buffer?
Then what is the purpose of using cmp-buffer?
-
nvim-cmp source for working with snake case and camel case
Okay I sat down and did exactly what I said in my previous comment. Essentially it's a complete rewrite of my old code that makes things much more generic and flexible. You can take a look at the PR here: https://github.com/hrsh7th/cmp-buffer/pull/60.
-
Autocomplete lines in the current buffer | nvim-cmp-buffer-lines
Good work but can you tell how is it different from https://github.com/hrsh7th/cmp-buffer
-
My Neovim setup for React, TypeScript, Tailwind CSS, etc
hrsh7th/cmp-buffer - nvim-cmp source for buffer words
- Nvim-cmp nonlatin characters
-
Neovim LSP: Setup nvim-lspconfig + nvim-cmp
cmp-buffer
-
LSP omnifunc fuzzy completion?
nvim-cmp is just the autocompletion engine w/ fuzzy matching and other filtering options. To get items to be filled from cmp you will need sources, for example: hrsh7th/cmp-nvim-lsp plugin will provide items from a LSP server to cmp, so you can get items you can fuzzy match in. Another one is items from buffers: hrsh7th/cmp-buffer
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-rg - ripgrep source for nvim-cmp
nvim-cmp - A completion plugin for neovim coded in Lua.
cmp-git - Git source for nvim-cmp
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
mason-lspconfig.nvim - Extension to mason.nvim that makes it easier to use lspconfig with mason.nvim.
lspkind-nvim - vscode-like pictograms for neovim lsp completion items [Moved to: https://github.com/onsails/lspkind.nvim]
friendly-snippets - Set of preconfigured snippets for different languages.
nvim-lspconfig - Quickstart configs for Nvim LSP
dotfiles - My personal dotfiles for kitty, neovim, sway, waybar, zsh, makepg, pacman
nvim-compe - Auto completion Lua plugin for nvim