Closed jirgn closed 2 years ago
Do you use any matchparen plugin, like matchup etc?
Also do you have a custom guicursor
settings?
Hey thank you for the fast response.
Normally I use matchit.vim. But I reproduced the Problem when having disabled all my Plugins. And I'm not aware of any custom settings for guicursor
.
# :PlugStatus
Finished. 0 error(s).
[==]
- zenbones.nvim: OK
- lush.nvim: OK
:set guicursor?
So In my opinion no - should be all clean on my side - problem still exists
To confirm, this only happens with dark tokyonight and zenbones? Are the other dark colorschemes working fine? Also what terminal emulator are you using?
Hey,
I use Alacritty as Terminal with a Zenbones Dark Color Set on a ArchLinux OS. The Terminal seems to be a good call. I tried to reproduce within gTerm, and there were no problems
What I figured out when playing around with the alacritty config is, that the cursor definition in Alacritty Zenbones Dark are used. I do not know why these terminal colors are used but when I change my alacritty colors to
cursor:
cursor: '#66A5AD'
text: '#1C1917'
# cursor: '#1C1917'
# text: '#C4CACF'
It works fine.
Do you think it's related to shipwright transformer? https://github.com/rktjmp/shipwright.nvim/issues/8
I don't use alacritty, so I'm not sure. If it fixes it, we can submit a fix.
I would say yes this is related. If I get i right the color definitions are inverse here.
cursor
cursor: '$cursor_bg' # changed this to bg assuming the var holds the color of the cursors surface (square)
text: '$cursor_fg' # changed this to fg assuming the var holds the cursor's text color
i opened a PR https://github.com/rktjmp/shipwright.nvim/pull/9
The configs are now updated, do you still see the issue?
works perfectly now - thanks
Hey, first of all - thanks a lot for the effort building this great color theme, i really like the idea and of course the looks. I stumbled upon an issue with cursor colors when using one of the following 'dark' themes
If the cursor is on a parenthesis or bracket and matchparen is active, the the cursor position is barely noticeable. This in my opinion is confusing and misleeading. I would asume that the cursor background stayes the same (like in the light mode theme).
reproducing
expect
cursor is noticeable (has the same bg-color) matching cursor is highlighted
current
cursor is not nodiceable matching cursor is highlighted