diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua index 6c1b7f3..7461d78 100644 --- a/lua/plugins/configs/cmp.lua +++ b/lua/plugins/configs/cmp.lua @@ -66,5 +66,6 @@ cmp.setup { { name = "luasnip" }, { name = "buffer" }, { name = "nvim_lua" }, + { name = "path" }, }, } diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index e0d93a8..4c35c3b 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -217,6 +217,11 @@ return packer.startup(function() after = "cmp-nvim-lsp", } + use { + "hrsh7th/cmp-path", + disable = not plugin_status.cmp, + after = "cmp-buffer", + } -- misc plugins use { "windwp/nvim-autopairs",