chore(Layer): remove unused function

pull/17/head
Iron-E 2 years ago
parent 117e31eccd
commit 84eaaae9ab
No known key found for this signature in database
GPG Key ID: 19B71B7B7B021D22

@ -11,16 +11,6 @@ local function normalize_buffer(buffer)
return buffer
end
--- remove and return the right-hand side of a `keymap`.
--- @param keymap table the keymap to unpack
--- @return string lhs, table options
local function unpack_keymap_lhs(keymap)
local lhs = keymap.lhs
keymap.lhs = nil
return lhs, keymap
end
--- remove and return the right-hand side of a `keymap`.
--- @param keymap table the keymap to unpack
--- @return function|string rhs, table options

Loading…
Cancel
Save