mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
Fixed to use normal! instead of normal
This commit is contained in:
parent
dee2dd65ee
commit
7038b1ab14
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