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 000a5c4 commit d8a1dbcCopy full SHA for d8a1dbc
init.lua
@@ -640,6 +640,9 @@ require('lazy').setup({
640
-- into multiple repos for maintenance purposes.
641
'hrsh7th/cmp-nvim-lsp',
642
'hrsh7th/cmp-path',
643
+ -- nvim-cmp source for neovim Lua API
644
+ -- so that things like vim.keymap.set, etc. are autocompleted
645
+ 'hrsh7th/cmp-nvim-lua',
646
647
-- If you want to add a bunch of pre-configured snippets,
648
-- you can use this plugin to help you. It even has snippets
@@ -701,6 +704,7 @@ require('lazy').setup({
701
704
end, { 'i', 's' }),
702
705
},
703
706
sources = {
707
+ { name = 'nvim_lua' },
708
{ name = 'nvim_lsp' },
709
{ name = 'luasnip' },
710
{ name = 'path' },
0 commit comments