feat: add additional configuration options to dashboard settings

This commit is contained in:
2024-09-15 07:33:17 -04:00
parent da34d98a1c
commit 04b057a757
7 changed files with 95 additions and 104 deletions
+2 -2
View File
@@ -49,7 +49,7 @@ return { -- cmp
end)
local border_opts = {
border = "rounded",
border = vim.g.completion_borders or "rounded",
}
local window_opts = {
completion = cmp.config.window.bordered(border_opts),
@@ -75,7 +75,7 @@ return { -- cmp
end,
},
completion = { completeopt = "menu,menuone,noinsert" },
window = vim.g.completion_round_borders_enabled and window_opts or {},
window = vim.g.completion_borders == "rounded" and window_opts or {},
mapping = cmp.mapping.preset.insert({
["<C-n>"] = cmp.mapping.select_next_item(),
["<C-p>"] = cmp.mapping.select_prev_item(),