Skip to content

Commit

Permalink
cmp: make minor config updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Oct 17, 2024
1 parent c7a9c06 commit 39cd5a2
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions lua/nxvim/plugins/cmp.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-- https://github.com/hrsh7th/nvim-cmp

local cmp = require("cmp")
require("luasnip.loaders.from_vscode").lazy_load()

-- == [ Configuration ========================================================

Expand Down Expand Up @@ -46,11 +45,6 @@ local config = {
{ name = "path" },
{ name = "nerdfont" },
-- { name = "copilot" },
-- { name = "emoji" },
},
confirm_opts = {
behavior = cmp.ConfirmBehavior.Replace,
select = false,
},
formatting = {
fields = { "kind", "abbr", "menu" },
Expand Down Expand Up @@ -78,10 +72,6 @@ local config = {
winhighlight = "Normal:Normal",
},
},
experimental = {
ghost_text = false,
-- native_menu = false,
},
mapping = {},
}
-- ]
Expand Down Expand Up @@ -146,4 +136,5 @@ config.mapping = {
}
-- ]

require("luasnip.loaders.from_vscode").lazy_load()
cmp.setup(config)

0 comments on commit 39cd5a2

Please sign in to comment.