mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-09-11 07:15:44 +03:00
use <Del>
for deleting closing pair
This commit is contained in:
parent
db48f0b483
commit
823e469f6f
@ -342,7 +342,7 @@ local autopairs_delete = function(bufnr, key)
|
||||
input = input .. utils.key.bs
|
||||
end
|
||||
for _ = 1, vim.api.nvim_strwidth(rule.end_pair), 1 do
|
||||
input = input .. utils.key.right .. utils.key.bs
|
||||
input = input .. utils.key.del
|
||||
end
|
||||
return utils.esc('<c-g>U' .. input)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user