summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorShashwat Agrawal <72117025+ShashwatAgrawal20@users.noreply.github.com>2023-12-08 18:44:06 +0530
committerGitHub <noreply@github.com>2023-12-08 08:14:06 -0500
commit76c5b1ec57f40d17ac787feb018817a802e24bb6 (patch)
treec6a104b88d72e0c10a0fe7fe8a165e71dc873bab /init.lua
parent3824342d107850dfe5b179d0a39e0d8fcd54411d (diff)
feat(cmp): path completion feature (#536)
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.lua b/init.lua
index 36cc9a5..cf4a379 100644
--- a/init.lua
+++ b/init.lua
@@ -105,6 +105,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',
@@ -652,6 +653,7 @@ cmp.setup {
sources = {
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
+ { name = 'path' },
},
}