mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
use xmap in detach
This commit is contained in:
parent
3f4df62526
commit
edf3c956bd
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ function M.detach(bufnr)
|
||||||
if f == "init_selection" then
|
if f == "init_selection" then
|
||||||
api.nvim_buf_del_keymap(bufnr, 'n', mapping)
|
api.nvim_buf_del_keymap(bufnr, 'n', mapping)
|
||||||
else
|
else
|
||||||
api.nvim_buf_del_keymap(bufnr, 'v', mapping)
|
api.nvim_buf_del_keymap(bufnr, 'x', mapping)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue