问最小NeoVim lua配置用于使用nvim-cmp和lspENneovim 自带的代码补全的效果并不好,而且它分为好多类...
nvim-cmp-scm-1.rockspec ci: add release workflow to publish new tags to LuaRocks (hrsh7th#1431) May 1, 2023 stylua.toml dev (hrsh7th#1) Aug 4, 2021 README License nvim-cmp A completion engine plugin for neovim written in Lua. Completion sources are installed from external repositorie...
FAQ I have checked the FAQ and it didn't resolve my problem. Announcement I have checked Breaking change announcement. Minimal reproducible full config return { { "hrsh7th/nvim-cmp", dependencies = { "hrsh7th/cmp-cmdline", "hrsh7th/cmp-n...
fix(plugins.nvim-cmp): fix typo in nvim-cmp.lua ae74b45 View details nyarla merged commit d22b113 into main Mar 4, 2025 1 check passed nyarla deleted the fix-typo-in-nvim-cmp branch March 4, 2025 02:33 Sign up for free to join this conversation on GitHub. Already have ...
Error executing vim.schedule lua callback: vim/shared.lua:0: after the second argument: expected table, got nil stack traceback: [C]: in function 'error' vim/shared.lua: in function 'validate' vim/shared.lua: in function 'tbl_deep_extend' ...cal/share/nvim/lazy/cmp-cmdline/lua/cmp...
cmp_src")._complete() -- if cmp_src._registered then -- cmp_src._complete() -- end return require("fzf-lua.cmd")._candidates(line) end, }) -- If available register as nvim-cmp source local ok, _ = pcall(require, "cmp") if ok then require("fzf-lua.cmp_src")._register_...
to use nvim-cmp instead, enable the coding.nvim-cmp extra with :LazyExtras Removed Plugins dressing.nvim (replaced with fzf-lua and snacks.input) telescope-fzf-native.nvim (replaced with fzf-lua) telescope.nvim (replaced with fzf-lua) indent-blankline.nvim (replaced with snacks.indent)...
cmp-snippy'callplug#end()lua<<EOF--Setupnvim-cmp. localcmp=require'cmp'cmp.setup({ snippet={--REQUIRED-you must specifyasnippet engineexpand=function(args)vim.fn["vsnip#anonymous"](args.body)--For `vsnip` users.--require('luasnip').lsp_expand(args.body)--For `luasnip` users.--...