use xmap in detach

This commit is contained in:
evakuator 2020-09-02 00:44:53 +06:00 committed by Stephan Seitz
parent c5d5e48e0f
commit 92c18c8efa

View file

@ -113,7 +113,7 @@ function M.detach(bufnr)
if f == "init_selection" then
api.nvim_buf_del_keymap(bufnr, 'n', mapping)
else
api.nvim_buf_del_keymap(bufnr, 'v', mapping)
api.nvim_buf_del_keymap(bufnr, 'x', mapping)
end
end
end