Skip to content

support multicursor.nvim#696

Merged
stevearc merged 2 commits intostevearc:masterfrom
jake-stewart:master
Dec 21, 2025
Merged

support multicursor.nvim#696
stevearc merged 2 commits intostevearc:masterfrom
jake-stewart:master

Conversation

@jake-stewart
Copy link
Contributor

Users have expressed desire to use your plugin with multicursor.nvim

jake-stewart/multicursor.nvim#140

This PR simply checks whether multicursor.nvim is already loaded and if so applies the cursor adjustment to each virtual cursor.

I changed the code slightly so that there is a common function for calculating the correct cursor position. I call this for each cursor. This is to avoid getting/setting cursor state for each cursor. I use the cached cursor state when calling the function.

@stevearc
Copy link
Owner

Thanks for the PR!

@stevearc stevearc merged commit 756dec8 into stevearc:master Dec 21, 2025
10 checks passed
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

Successfully merging this pull request may close these issues.

2 participants