fix(ci): format
This commit is contained in:
parent
38db6cf8ea
commit
209d631cb9
3 changed files with 15 additions and 11 deletions
|
|
@ -417,7 +417,10 @@ M.setup = function(opts)
|
|||
for k, v in pairs(opts.keymaps) do
|
||||
local normalized = vim.api.nvim_replace_termcodes(k, true, true, true)
|
||||
for existing_k, _ in pairs(new_conf.keymaps) do
|
||||
if existing_k ~= k and vim.api.nvim_replace_termcodes(existing_k, true, true, true) == normalized then
|
||||
if
|
||||
existing_k ~= k
|
||||
and vim.api.nvim_replace_termcodes(existing_k, true, true, true) == normalized
|
||||
then
|
||||
new_conf.keymaps[existing_k] = nil
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue