mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-07 14:00:00 -04:00
Fixed to use normal! instead of normal
This commit is contained in:
parent
969edeeced
commit
3c0684f7f2
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ function M.update_selection(buf, node)
|
|||
end_col = end_col + 1
|
||||
|
||||
vim.fn.setpos(".", { buf, start_row, start_col, 0 })
|
||||
vim.fn.nvim_exec("normal v", false)
|
||||
vim.fn.nvim_exec("normal! v", false)
|
||||
|
||||
-- Convert exclusive end position to inclusive
|
||||
if end_col == 1 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue