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

Insert mode cursor uses editor.cursorStyle instead of vim.cursorStylePerMode.insert #4521

Closed
rben01 opened this issue Jan 28, 2020 · 1 comment

Comments

@rben01
Copy link

rben01 commented Jan 28, 2020

Describe the bug
When in insert mode, regardless of the value of vim.cursorStylePerMode.insert, the cursor is styled according to editor.cursorStyle.

To Reproduce

  1. Set editor.cursorStyle to "underline"
  2. Set vim.cursorStylePerMode.insert to "line"
  3. Set vim.cursorStylePerMode.normal to something else, like "block" (just so you can see the change)
  4. Open a new file and press i to enter insert mode

Expected behavior
The cursor turns into a line

Actual behavior
The cursor turns into underline

Screenshots
output1080

Environment (please complete the following information):

Extension version: 1.12.4
VS Code version: Code 1.41.1 (26076a4de974ead31f97692a0d32f90d735645c0, 2019-12-18T14:57:51.166Z)
OS version: Darwin x64 19.3.0

Additional Info
I first noticed this issue around a month ago.

@cvaldev
Copy link
Contributor

cvaldev commented Jan 28, 2020

This has been fixed on master with #4468.

@rben01 rben01 closed this as completed Jan 28, 2020
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