fix: switch_windows keymap not reflected in sidebar (#2675)

This commit is contained in:
Shaobin Jiang
2025-09-03 14:01:31 +08:00
committed by GitHub
parent 181befe20b
commit 0aaa91d267

View File

@@ -994,11 +994,12 @@ function Sidebar:render_input(ask)
if self.code.selection ~= nil then
header_text = string.format(
"%s%s (%d:%d) (<Tab>: switch focus)",
"%s%s (%d:%d) (%s: switch focus)",
Utils.icon("󱜸 "),
ask and "Ask" or "Chat with",
self.code.selection.range.start.lnum,
self.code.selection.range.finish.lnum
self.code.selection.range.finish.lnum,
Config.mappings.sidebar.switch_windows
)
end