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

fix(symbols): keep visual selection after selecting range #3128

Merged
merged 1 commit into from
Jun 5, 2021

Conversation

kevinhwang91
Copy link
Contributor

When selectRange is missing and use visual mode, we should reselect
the selection.

An edge case like the current range is the same as the range that
languages server returned, coc will make n/vim lose the selection.

When selectRange is missing and use visual mode, we should reselect
the selection.

An edge case like the current range is the same as the range that
language server returned, coc will make n/vim lose the selection.
@chemzqm chemzqm merged commit 44bac21 into neoclide:master Jun 5, 2021
chemzqm added a commit that referenced this pull request Jun 7, 2021
509209a fix(plugin): check nvim version for strikethrough
ae6e76a chore(workspace): check doc attached on selectRange
44bac21 fix(symbols): keep visual selection while selecting range (#3128)
530a47c feat(markdown): ignore image in markdown doc (#3100)
309f954 Add FocusLost (#3130)
@kevinhwang91 kevinhwang91 deleted the lose-selection branch June 28, 2021 14:55
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