switch from nvimtree to neotree

This commit is contained in:
PeteChu 2023-04-21 17:03:44 +07:00
parent 615e8a4aae
commit 690372bd88
13 changed files with 69 additions and 69 deletions

View file

@ -501,6 +501,7 @@ mason_lspconfig.setup_handlers {
-- nvim-cmp setup
local cmp = require 'cmp'
local cmp_autopairs = require 'nvim-autopairs.completion.cmp'
local luasnip = require 'luasnip'
local lspkind = require 'lspkind'
@ -546,6 +547,7 @@ cmp.setup {
{ name = 'luasnip' },
{ name = 'buffer' },
{ name = 'path' },
{ name = 'rg' }
}),
formatting = {
format = lspkind.cmp_format({
@ -554,6 +556,10 @@ cmp.setup {
})
}
}
cmp.event:on(
'confirm_done',
cmp_autopairs.on_confirm_done()
)
-- The line beneath this is called `modeline`. See `:help modeline`
-- vim: ts=2 sts=2 sw=2 et