No requires lazyredraw

This commit is contained in:
hrsh7th
2021-10-12 11:11:08 +09:00
parent 30ed4e43a6
commit 7a36a31331
2 changed files with 4 additions and 4 deletions

View File

@@ -80,8 +80,9 @@ keymap.backspace = function(count)
return ''
end
local keys = {}
table.insert(keys, keymap.t(string.rep('<C-g>U<Left>', count)))
table.insert(keys, keymap.t(string.rep('<Del>', count)))
table.insert(keys, keymap.t('<Cmd>set backspace=<CR>'))
table.insert(keys, keymap.t(string.rep('<BS>', count)))
table.insert(keys, keymap.t(('<Cmd>set backspace=%s<CR>'):format(vim.o.backspace)))
return table.concat(keys, '')
end