From 7038b1ab1447b0490ac5cb933940dab230a79148 Mon Sep 17 00:00:00 2001 From: Steve Vermeulen Date: Sat, 18 Jul 2020 12:13:17 -0700 Subject: [PATCH] Fixed to use normal! instead of normal --- lua/nvim-treesitter/ts_utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-treesitter/ts_utils.lua b/lua/nvim-treesitter/ts_utils.lua index b01783d12..a365c16f7 100644 --- a/lua/nvim-treesitter/ts_utils.lua +++ b/lua/nvim-treesitter/ts_utils.lua @@ -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