mirror of
https://github.com/NotAShelf/direnv.nvim.git
synced 2024-11-26 18:06:44 +00:00
Revert "ensure all keymap commands are valid Lua strings"
This reverts commit 90f356d4b5
.
This commit is contained in:
parent
f50828ef06
commit
32985198c5
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ local function setup_keymaps(keymaps, mode, opts)
|
||||||
for _, map in ipairs(keymaps) do
|
for _, map in ipairs(keymaps) do
|
||||||
local options =
|
local options =
|
||||||
vim.tbl_extend("force", { noremap = true, silent = true }, opts or {})
|
vim.tbl_extend("force", { noremap = true, silent = true }, opts or {})
|
||||||
vim.api.nvim_set_keymap(mode, map[1], tostring(map[2]), options)
|
vim.api.nvim_set_keymap(mode, map[1], map[2], options)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue