2 files changed,
3 insertions(+),
1 deletions(-)
jump to
| M | lua/plugin.lua |
| M | lua/plugin/cmp.lua |
M
lua/plugin.lua
@@ -85,6 +85,7 @@ requires = {
{ "hrsh7th/cmp-nvim-lua", after = "nvim-cmp" }, { "hrsh7th/cmp-nvim-lsp", after = "nvim-cmp" }, { "hrsh7th/cmp-buffer", after = "nvim-cmp" }, + { "hrsh7th/cmp-path", after = "nvim-cmp" }, { "saadparwaiz1/cmp_luasnip", requires = { "L3MON4D3/LuaSnip", "rafamadriz/friendly-snippets",
M
lua/plugin/cmp.lua
@@ -56,8 +56,9 @@ },
sources = { { name = "nvim_lua", max_item_count = 5 }, { name = "nvim_lsp", max_item_count = 8 }, - { name = "buffer", keyword_length = 4, max_item_count = 5 }, + { name = "buffer", max_item_count = 5, keyword_length = 4 }, { name = "luasnip", max_item_count = 4, keyword_length = 2 }, + { name = "path", max_item_count = 2 }, }, experimental = { ghost_text = true,