refactor: remove unnecessarry keymap option

This commit is contained in:
Arman.H 2022-05-03 18:36:47 +04:30 committed by siduck
parent d84e2b36a1
commit 174873b41f

View File

@ -41,7 +41,7 @@ M.load_config = function()
end end
M.map = function(mode, keys, command, opt) M.map = function(mode, keys, command, opt)
local options = { noremap = true, silent = true } local options = { silent = true }
if opt then if opt then
options = vim.tbl_extend("force", options, opt) options = vim.tbl_extend("force", options, opt)