Skip to content

Commit 420c909

Browse files
committed
chore(mappings): escape help keys
1 parent 57e055e commit 420c909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate_default_keymaps.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ for _, m in pairs(DEFAULT_KEYMAPS) do
1313
local keys = type(m.key) == "table" and m.key or { m.key }
1414
for _, key in ipairs(keys) do
1515
local out = {}
16-
out.key = key
16+
out.key = string.format("`%s`", key)
1717
max_key = math.max(#out.key, max_key)
1818
if first then
1919
out.short = m.desc.short

0 commit comments

Comments
 (0)