Compare commits

..

2 Commits

Author SHA1 Message Date
09acbb87c8
refactor(nvim): improve padding of blink cmp menu
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 34s
2024-12-22 18:05:35 -06:00
8d7bd2821a
fix(nvim): only show latex completions when hitting \ in blink 2024-12-22 18:05:12 -06:00

View File

@ -113,7 +113,6 @@ return {
"buffer", "buffer",
"ripgrep", "ripgrep",
"dadbod", "dadbod",
"lua-latex-symbols",
}, },
providers = { providers = {
ripgrep = { ripgrep = {
@ -136,11 +135,9 @@ return {
["lua-latex-symbols"] = { ["lua-latex-symbols"] = {
name = "lua-latex-symbols", name = "lua-latex-symbols",
module = "blink.compat.source", module = "blink.compat.source",
max_items = 5,
opts = { opts = {
cache = true, cache = true,
}, },
score_offset = -3,
}, },
dadbod = { name = "Dadbod", module = "vim_dadbod_completion.blink" }, dadbod = { name = "Dadbod", module = "vim_dadbod_completion.blink" },
}, },
@ -163,11 +160,7 @@ return {
menu = { menu = {
winblend = 50, winblend = 50,
draw = { draw = {
padding = 0, padding = { 0, 1 },
columns = {
{ "kind_icon" },
{ "label", "label_description", gap = 1 },
},
components = { components = {
kind_icon = { kind_icon = {
text = function(ctx) text = function(ctx)