tune snack pickers format

This commit is contained in:
Oliver Hartmann 2025-02-10 12:37:45 +00:00
parent c14f537921
commit d5e60bf5ef
2 changed files with 10 additions and 1 deletions

View File

@ -37,7 +37,9 @@ return {
}, },
picker = { picker = {
matcher = { matcher = {
frecency = true frecency = true,
cwd_bonus = true,
filename_bonus = true,
}, },
win = { win = {
input = { input = {
@ -46,6 +48,12 @@ return {
}, },
}, },
}, },
formatters = {
file = {
truncate = 100,
filename_first = true
}
}
} }
}, },
keys = { keys = {

View File

@ -30,6 +30,7 @@ return {
['LspReferenceRead'] = { bg = colors.vulgaris.green, fg = colors.vulgaris.bg1, fmt = 'nocombine' }, ['LspReferenceRead'] = { bg = colors.vulgaris.green, fg = colors.vulgaris.bg1, fmt = 'nocombine' },
['LspReferenceWrite'] = { bg = colors.vulgaris.red, fg = colors.vulgaris.bg1, fmt = 'nocombine' }, ['LspReferenceWrite'] = { bg = colors.vulgaris.red, fg = colors.vulgaris.bg1, fmt = 'nocombine' },
['LspReferenceText'] = { bg = colors.vulgaris.cyan, fg = colors.vulgaris.bg1, fmt = 'nocombine' }, ['LspReferenceText'] = { bg = colors.vulgaris.cyan, fg = colors.vulgaris.bg1, fmt = 'nocombine' },
['NonText'] = { fg = colors.vulgaris.blue }
}, },
}) })
require('bamboo').load() require('bamboo').load()