mirror of https://github.com/folke/lazy.nvim.git
fix(keys): dont add (n) to keys id
This commit is contained in:
parent
32d5f4af2f
commit
9f9d733df9
|
@ -25,8 +25,9 @@ function M.parse(value)
|
|||
if type(mode) == "table" then
|
||||
---@cast mode string[]
|
||||
table.sort(mode)
|
||||
ret.id = ret.id .. " (" .. table.concat(mode, ", ") .. ")"
|
||||
elseif mode ~= "n" then
|
||||
mode = table.concat(mode, ", ")
|
||||
end
|
||||
if mode ~= "n" then
|
||||
ret.id = ret.id .. " (" .. mode .. ")"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue