aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2023-12-08 15:32:52 +0100
committerDamjan 9000 <damjan.9000@gmail.com>2023-12-08 15:32:52 +0100
commit91499eb87ddf8f7860ea4cd2ce8db5692c487df1 (patch)
tree22dec2f0c8b1bcf4d33bf9d7579a4fa904c0651d
parentcbaae1e97e433df731a7d3ddc60a32d4f00655c2 (diff)
parent76c5b1ec57f40d17ac787feb018817a802e24bb6 (diff)
Merge 'upstream/master' feat(cmp): path completion feature
-rw-r--r--lua/cmp-setup.lua1
-rw-r--r--lua/lazy-plugins.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/lua/cmp-setup.lua b/lua/cmp-setup.lua
index f40ade7..885fa6f 100644
--- a/lua/cmp-setup.lua
+++ b/lua/cmp-setup.lua
@@ -46,6 +46,7 @@ cmp.setup {
sources = {
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
+ { name = 'path' },
},
}
diff --git a/lua/lazy-plugins.lua b/lua/lazy-plugins.lua
index 339e72a..22f5f4c 100644
--- a/lua/lazy-plugins.lua
+++ b/lua/lazy-plugins.lua
@@ -43,6 +43,7 @@ require('lazy').setup({
-- Adds LSP completion capabilities
'hrsh7th/cmp-nvim-lsp',
+ 'hrsh7th/cmp-path',
-- Adds a number of user-friendly snippets
'rafamadriz/friendly-snippets',