This commit is contained in:
Oluwatobi 2023-10-31 12:00:00 +01:00
parent 2100726468
commit 3a76bbf0c6
14 changed files with 397 additions and 178 deletions

View file

@ -1,5 +1,6 @@
-- [[ Configure nvim-cmp ]]
-- See `:help cmp`
vim.api.nvim_set_hl(0, 'CmpGhostText', { link = 'Comment', default = true })
local cmp = require 'cmp'
local luasnip = require 'luasnip'
require('luasnip.loaders.from_vscode').lazy_load()
@ -43,5 +44,9 @@ cmp.setup {
sources = {
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
{ name = 'path' },
{
{ name = 'buffer' },
},
},
}