aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/_fold.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2023-07-05 19:47:43 +0200
committerJustin M. Keyes <justinkz@gmail.com>2023-07-06 12:18:55 +0200
commitf39ca5df232cb6e70b1932b7444840acf42cf87b (patch)
tree99140c8bdbbcf5eded0072fc6418ac41579f84dd /runtime/lua/vim/treesitter/_fold.lua
parentabd380e28d48dd155b1e29cd2453f13b28bf7e08 (diff)
downloadrneovim-f39ca5df232cb6e70b1932b7444840acf42cf87b.tar.gz
rneovim-f39ca5df232cb6e70b1932b7444840acf42cf87b.tar.bz2
rneovim-f39ca5df232cb6e70b1932b7444840acf42cf87b.zip
refactor(defaults): use vim.region for visual star (*,#)
Problem: The parent commit added a new vim.get_visual_selection() function to improve visual star. But that is redundant with vim.region(). Any current limitations of vim.region() should be fixed instead of adding a new function. Solution: Delete vim.get_visual_selection(). Use vim.region() to get the visual selection. TODO: fails with visual "block" selections.
Diffstat (limited to 'runtime/lua/vim/treesitter/_fold.lua')
0 files changed, 0 insertions, 0 deletions