diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e033bc6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +lazy-lock.json diff --git a/init.lua b/init.lua index ef233c2..b132f42 100644 --- a/init.lua +++ b/init.lua @@ -107,10 +107,13 @@ require('lazy').setup({ -- Adds a number of user-friendly snippets 'rafamadriz/friendly-snippets', + -- Adds buffer source 'hrsh7th/cmp-buffer', + -- + -- Adds path source 'hrsh7th/cmp-path', + 'hrsh7th/cmp-nvim-lua', - "rafamadriz/friendly-snippets" }, }, @@ -556,6 +559,8 @@ cmp.setup { sources = { { name = 'nvim_lsp' }, { name = 'luasnip' }, + { name = 'buffer' }, + { name = 'path' }, }, }