Skip to content

Commit 6207f41

Browse files
committed
chore(ui): upstream config updates for scrollview, bufferline, snacks, todo
- scrollview: mode virtual→auto, winblend→winblend_gui, add diagnostics sign - bufferline: numbers nil→"none" for explicit valid value - snacks: add scroll.animate_repeat for hold-to-scroll acceleration - todo-comments: add missing colors.test entry for TEST keyword
1 parent cf811b0 commit 6207f41

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

lua/modules/configs/ui/bufferline.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ return function()
1919
diagnostics_indicator = function(count)
2020
return "(" .. count .. ")"
2121
end,
22-
numbers = nil,
22+
numbers = "none",
2323
max_name_length = 20,
2424
max_prefix_length = 13,
2525
buffer_close_icon = icons.ui.Close,

lua/modules/configs/ui/scrollview.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ return function()
22
local icons = { diagnostics = require("modules.utils.icons").get("diagnostics", true) }
33

44
require("modules.utils").load_plugin("scrollview", {
5-
mode = "virtual",
6-
winblend = 0,
7-
signs_on_startup = { "folds", "marks", "search" },
5+
mode = "auto",
6+
winblend_gui = 0,
7+
signs_on_startup = { "diagnostics", "folds", "marks", "search" },
88
diagnostics_error_symbol = icons.diagnostics.Error,
99
diagnostics_warn_symbol = icons.diagnostics.Warning,
1010
diagnostics_info_symbol = icons.diagnostics.Information,

lua/modules/configs/ui/snacks.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,11 @@ return function()
125125
animate = {
126126
duration = { step = 15, total = 150 },
127127
},
128+
animate_repeat = {
129+
delay = 100,
130+
duration = { step = 5, total = 50 },
131+
easing = "linear",
132+
},
128133
},
129134
terminal = { enabled = true },
130135
quickfile = { enabled = true },

lua/modules/configs/ui/todo.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ return function()
5353
info = { "DiagnosticInfo", "#2563EB" },
5454
hint = { "DiagnosticHint", "#F5C2E7" },
5555
default = { "Conditional", "#7C3AED" },
56+
test = { "Identifier", "#FF00FF" },
5657
},
5758
})
5859
end

0 commit comments

Comments
 (0)