Open cideM opened 6 years ago
Hmm... I can't reproduce this at all on iTerm:
I think I just need to adjust the MatchParen
foreground. Try overriding MatchParen
by adding the following after setting the color scheme in your init.vim
:
hi MatchParen guibg=#c47ebd guifg=#51617d
Does this make the cursor visible again?
Yeah that works. Anything that's not just reverse
or manually reversing the colors work. I just tried it without dynamic cursor colors in both alacritty and termite and that also solves the problem. Now I am not sure if maybe the dynamic cursor adjustment of the terminal is confused by the MatchParen color change. In other words, I'm not sure if the terminals behave in the expected way here (although I'd err on the side of yes they do). What all color schemes that give me these issues have in common is that MatchParen
uses the background from Normal
(or almost the background, here it's gray1
and gray2
) or just reverse
). One color scheme where it works flawlessy is seoul256
Bottom line: if there is MatchParen
color combo that you're okay with I'd be super happy about that :) but I'd understand if you consider this an edge case that people with terminals with such cursor adjustments have to live with
I'll just change it. There are way too many terminals with this behavior to call it an edge case. I should have some time this weekend to mull it over and come up with something.
I have a similar issue, but this is more like an upside-down cursor problem. See screenshot:
My cursor is actually on the opening curly brace in the screenshot (col 14), but it's misleading that it looks as if cursor is on the closing curly brace (col 34). With other color schemes, I don't have this issue.
This is Alacritty, Tmux, Neovim on MacOs but I have the same issue outside of Tmux and also on Arch Linux with both Alacritty and Termite. I have this in a bunch of color schemes and there are some bug reports about this on the base16 repo as well. If you would like more info let me know. Note that I am using dynamic cursor colors (meaning cursor color is adjusted based on background).
Also, the cursor is sitting on the first paren (I have RainbowColors active in the screenshot but it doesn't change the issue)