-
-
Notifications
You must be signed in to change notification settings - Fork 17
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: do not overwrite user's guicursor
shape
#56
Conversation
Oo excited to test this. Thanks for the contributions, I'll be able to review soon 💜 |
Been testing millow's fork/branch with no issues. Works as advertised 👍 |
Appreciate the feedback :) I just got back from a trip last night so still playing catch up |
This change breaks the current behavior From the linked issue, what we want is for the |
I argue that this plugin has no need to be able to configure the I made that issue and worded exactly what I wanted. I wanted this plugin to take its hands off of my |
^^^ Agreed. This plugin makes it super-simple to customize colors per-mode which otherwise requires bespoke autocmds. I can't think of a problem with the default :h guicursor has a clear examples that that even work in old versions of vanilla vim. |
This new behaviour seems ideal, and is how I would have implemented initially if I had a better understanding of what I was actually doing. I'm a little confused about the debate going on now though, is there a disagreement on whether this plugin should change the cursor shape or not? |
imho I can't think of a use case for a plugin to manage the cursor shape during mode switching (it's a single line option config), but of course that doesn't mean one doesn't exist. I'm curious if @fitrh's issue is that users might rely on this bug to set their cursor shape to the ones hardcoded in the plugin. I doubt this the case though, since the cursor shape isn't configurable and I think you just copied the default nvim cursor shape anyway (so shouldn't be a change even if they are) . Either way, the ask seems out of scope from this issue (and OP confirmed this above). If @fitrh has a use case for why the builtin option isn't sufficient, maybe they can open a new issue with their use case to discuss as a new feature request? |
fixes #54. removed the cursor shape options (e.g.
block
,ver25
.hor20
) from being set in theguicursor
. now this plugin only handles the highlighting.for example, the following line:
was changed to: