Open adoyle-h opened 2 months ago
When :set selection=exclusive, the returned value from get_visual() will contain an extra char.
:set selection=exclusive
get_visual()
Use vim.fn.getregion which follows vim option 'selection' to fix this issue.
vim.fn.getregion
Configuration:
@weeman1337 Can you review this PR? Thanks
Description
When
:set selection=exclusive
, the returned value fromget_visual()
will contain an extra char.Use
vim.fn.getregion
which follows vim option 'selection' to fix this issue.Type of change
Configuration:
Checklist: