completion setup

This commit is contained in:
2024-09-30 05:17:31 +02:00
parent 437a8b0eac
commit 6a0e6be5c7
8 changed files with 125 additions and 0 deletions

22
lua/config/lazy.lua Normal file
View File

@@ -0,0 +1,22 @@
require("lazy").setup({
"navarasu/onedark.nvim",
-- Auto-completion engine
{
"hrsh7th/nvim-cmp",
dependencies = {
"hrsh7th/cmp-nvim-lsp", -- lsp auto-completion
"hrsh7th/cmp-buffer", -- buffer auto-completion
"hrsh7th/cmp-path", -- path auto-completion
"hrsh7th/cmp-cmdline", -- cmdline auto-completion
},
config = function()
require("config.nvim-cmp")
end,
},
-- Code snippet engine
{
"L3MON4D3/LuaSnip",
version = "v2.*",
},
})