WIP: aesthetics!

This commit is contained in:
swaits committed 2026-04-12 11:35:15 -06:00
1 parent 31f9ae1733
commit be628194ec
6 files changed
+690 -243

No files matched your search

+2 -2
View File
@@ -10,13 +10,13 @@ assert_eq(help.is_open(), true, "help window is open")
help.close()
assert_eq(help.is_open(), false, "help window is closed")
-- remapped key shows in help content
-- remapped key shows in help content (new format wraps the key letter in parens)
config.merge({ keys = { continue = "g" } })
help.open()
local found_g = false
for _, w in ipairs(vim.api.nvim_list_wins()) do
for _, line in ipairs(vim.api.nvim_buf_get_lines(vim.api.nvim_win_get_buf(w), 0, -1, false)) do
if line:find("g%s+Continue") then found_g = true end
if line:find("%(g%)") then found_g = true end
end
end
assert_eq(found_g, true, "remapped key 'g' appears in help")