AutoYADM commit: 2024-12-13 16:45:02

This commit is contained in:
Daniel Fichtinger 2024-12-13 16:45:02 -05:00
parent 25396da2b6
commit 011bb03b52
2 changed files with 46 additions and 36 deletions

View file

@ -4,6 +4,7 @@
local opt = vim.opt local opt = vim.opt
opt.scrolloff = 0 opt.scrolloff = 0
vim.g.ai_cmp = false
vim.g.snacks_animate = false vim.g.snacks_animate = false
opt.spell = true opt.spell = true
opt.wrap = true opt.wrap = true

View file

@ -4,6 +4,8 @@ if follow_main then
end end
return { return {
-- { "giuxtaposition/blink-cmp-copilot", enabled = false },
{
"saghen/blink.cmp", "saghen/blink.cmp",
---@module 'blink.cmp' ---@module 'blink.cmp'
---@type blink.cmp.Config ---@type blink.cmp.Config
@ -26,6 +28,10 @@ return {
documentation = { documentation = {
auto_show = true, auto_show = true,
auto_show_delay_ms = 200, auto_show_delay_ms = 200,
treesitter_highlighting = true,
window = {
winhighlight = "Normal:BlinkCmpDoc,FloatBorder:BlinkCmpDocBorder,CursorLine:BlinkCmpDocCursorLine,Search:None",
},
}, },
ghost_text = { ghost_text = {
enabled = vim.g.ai_cmp, enabled = vim.g.ai_cmp,
@ -43,6 +49,9 @@ return {
["<C-h>"] = { "select_next" }, ["<C-h>"] = { "select_next" },
["<C-L>"] = { "scroll_documentation_up" }, ["<C-L>"] = { "scroll_documentation_up" },
["<C-H>"] = { "scroll_documentation_down" }, ["<C-H>"] = { "scroll_documentation_down" },
["<Up>"] = { "fallback" },
["<Down>"] = { "fallback" },
},
}, },
}, },
} }