mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 03:26:52 -04:00
use xmap in detach
This commit is contained in:
parent
c5d5e48e0f
commit
92c18c8efa
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue