gruvbox-community / gruvbox

Retro groove color scheme for Vim - community maintained edition
MIT License
801 stars 62 forks source link

Cursor Color behaving weird. #138

Closed lanox closed 4 years ago

lanox commented 4 years ago

Hi, I am not sure where the problem is, however, I do have strange behaviour on cursor in vim where the colour is not changing on certain section where the cursor is positioned. eg. Below you can see that cursor is at #( and it should be Aqua color) but its white.

Screen Shot 2020-06-25 at 2 47 49 pm

Now if I move my cursor to letter "d" colour is Aqua as it should be.

Screen Shot 2020-06-25 at 2 51 22 pm

Now if I move the cursor to letter "e, f, i, n, e" it goes back to white

Screen Shot 2020-06-25 at 2 51 27 pm

however, if I move the cursor down to "int" cursor color changes to GruvboxYellow and all letters are yellow

Screen Shot 2020-06-25 at 2 47 55 pm

If anyone has any ideas please let me know.

my configuration is

call plug#begin('~/.config/nvim/plugged')
Plug 'gruvbox-community/gruvbox'
call plug#end()

set termguicolors                                           " Enable True Color support.
let g:gruvbox_invert_selection='0'
let g:gruvbox_contrast_dark = 'hard'
colorscheme gruvbox
set background=dark
lanox commented 4 years ago

Looking little further this is what is set for Cursor.

Cursor         xxx cterm=reverse gui=reverse
        Last set from ~/dotfiles/nvim/plugged/gruvbox/colors/gruvbox.vim line 490
lanox commented 4 years ago

I think this might be issue with iTerm2