Skip to content

Commit

Permalink
feat: adds ? cmp completions
Browse files Browse the repository at this point in the history
  • Loading branch information
ixahmedxi committed Dec 5, 2022
1 parent b85342c commit f12e24e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lua/config/cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import({ "cmp", "luasnip", "lspkind", "luasnip/loaders/from_vscode" }, function(
}),
},
formatting = {
fields = { "abbr", "kind","menu" },
fields = { "abbr", "kind", "menu" },
format = modules.lspkind.cmp_format({
mode = "symbol_text",
before = function(entry, vim_item)
Expand Down Expand Up @@ -88,7 +88,7 @@ import({ "cmp", "luasnip", "lspkind", "luasnip/loaders/from_vscode" }, function(
},
})

modules.cmp.setup.cmdline("/", {
modules.cmp.setup.cmdline({ "/", "?" }, {
mapping = modules.cmp.mapping.preset.cmdline(),
sources = {
{ name = "buffer" },
Expand Down

0 comments on commit f12e24e

Please sign in to comment.