Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] automatically entering/exiting selection mode is broken when this plugin is enabled #140

Open
Mis012 opened this issue Nov 16, 2024 · 1 comment

Comments

@Mis012
Copy link

Mis012 commented Nov 16, 2024

When setselect is enabled for mouse selections, clicking anywhere after making a selection doesn't exit selection mode, but instead changes the endpoint of the selection. The same happens when a drag is started, instead of a new selection the endpoint of the existing selection is moved around.

With empty setselect, visual mode is used instead of select mode. This doesn't exhibit the same broken behavior, i.e the breakage is specific to select mode.

> nvim --version
NVIM v0.10.2
Build type: RelWithDebInfo
LuaJIT 2.1.1724512491
Run "nvim -V1 -v" for more info
@dstein64
Copy link
Owner

dstein64 commented Nov 26, 2024

4d60c59 disables scrollview's mouse handling in select mode.

Ideally, scrollview could still be supported in select mode in case a scrollbar or sign is clicked. This might be feasible with Neovim PR #30542 (draft) or Neovim PR #30939 (merged).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants