AutoYADM commit: 2024-12-13 16:45:02
This commit is contained in:
parent
25396da2b6
commit
011bb03b52
2 changed files with 46 additions and 36 deletions
|
@ -4,6 +4,7 @@
|
|||
local opt = vim.opt
|
||||
opt.scrolloff = 0
|
||||
|
||||
vim.g.ai_cmp = false
|
||||
vim.g.snacks_animate = false
|
||||
opt.spell = true
|
||||
opt.wrap = true
|
||||
|
|
|
@ -4,6 +4,8 @@ if follow_main then
|
|||
end
|
||||
|
||||
return {
|
||||
-- { "giuxtaposition/blink-cmp-copilot", enabled = false },
|
||||
{
|
||||
"saghen/blink.cmp",
|
||||
---@module 'blink.cmp'
|
||||
---@type blink.cmp.Config
|
||||
|
@ -26,6 +28,10 @@ return {
|
|||
documentation = {
|
||||
auto_show = true,
|
||||
auto_show_delay_ms = 200,
|
||||
treesitter_highlighting = true,
|
||||
window = {
|
||||
winhighlight = "Normal:BlinkCmpDoc,FloatBorder:BlinkCmpDocBorder,CursorLine:BlinkCmpDocCursorLine,Search:None",
|
||||
},
|
||||
},
|
||||
ghost_text = {
|
||||
enabled = vim.g.ai_cmp,
|
||||
|
@ -43,6 +49,9 @@ return {
|
|||
["<C-h>"] = { "select_next" },
|
||||
["<C-L>"] = { "scroll_documentation_up" },
|
||||
["<C-H>"] = { "scroll_documentation_down" },
|
||||
["<Up>"] = { "fallback" },
|
||||
["<Down>"] = { "fallback" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue