aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorDmytro Meleshko <dmytro.meleshko@gmail.com>2026-06-25 17:36:24 +0200
committerGitHub <noreply@github.com>2026-06-25 11:36:24 -0400
commit9afa8477b3a3b5b298e0042e59e391357dbe5c5c (patch)
treec56eeed3954cf8f20c7c1beb37b3e23e4b9b0f75 /test/functional/vimscript/executable_spec.lua
parent122be61ed24cce4be721557421a05f1a35e0dcb5 (diff)
downloadrneovim-9afa8477b3a3b5b298e0042e59e391357dbe5c5c.tar.gz
rneovim-9afa8477b3a3b5b298e0042e59e391357dbe5c5c.tar.bz2
rneovim-9afa8477b3a3b5b298e0042e59e391357dbe5c5c.zip
fix(treesitter): incremental selection causes beeps when the bell is enabled #40414
Problem: The function visual_select() in treesitter/_select.lua is executing `:normal! v<Esc>` to ensure that `gv` later goes back to character Visual mode, but doing so when mode() is already `v` first switches back to the Normal mode, then executes <Esc>, which causes a beep. Solution: Check if the mode() is already `v` and avoid any switching in that case.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions