mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-20 02:34:32 +02:00
feat(rust): refactor to allow easy user customization and keymaps
This commit is contained in:
parent
61e3ce8cdc
commit
a46d47653e
2 changed files with 68 additions and 52 deletions
|
@ -83,7 +83,7 @@ function M.resolve(buffer)
|
|||
|
||||
local function add(keymap)
|
||||
local keys = Keys.parse(keymap)
|
||||
if keys[2] == vim.NIL or keys[2] == false then
|
||||
if keys[2] == false then
|
||||
keymaps[keys.id] = nil
|
||||
else
|
||||
keymaps[keys.id] = keys
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue