add dotenv to the cmp source

This commit is contained in:
2024-06-06 20:50:15 +03:00
parent a8c07b1e1c
commit 74a8347c6d
2 changed files with 3 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ return {
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"SergioRibera/cmp-dotenv",
"hrsh7th/cmp-cmdline",
"hrsh7th/nvim-cmp",
"L3MON4D3/LuaSnip",
@@ -33,6 +34,7 @@ return {
sources = {
{ name = 'path' },
{ name = 'nvim_lsp' },
{ name = 'dotenv' },
{ name = 'luasnip', keyword_length = 2 },
{ name = 'buffer', keyword_length = 3 },
},