We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cmp-nvim-lua
nvim-cmp
1 parent 2e0b508 commit 7e17ce1Copy full SHA for 7e17ce1
init.lua
@@ -638,6 +638,9 @@ require('lazy').setup({
638
-- into multiple repos for maintenance purposes.
639
'hrsh7th/cmp-nvim-lsp',
640
'hrsh7th/cmp-path',
641
+ -- nvim-cmp source for neovim Lua API
642
+ -- so that things like vim.keymap.set, etc. are autocompleted
643
+ 'hrsh7th/cmp-nvim-lua',
644
645
-- If you want to add a bunch of pre-configured snippets,
646
-- you can use this plugin to help you. It even has snippets
@@ -699,6 +702,7 @@ require('lazy').setup({
699
702
end, { 'i', 's' }),
700
703
},
701
704
sources = {
705
+ { name = 'nvim_lua' },
706
{ name = 'nvim_lsp' },
707
{ name = 'luasnip' },
708
{ name = 'path' },
0 commit comments