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

cursorline not highlighting "Operator" syntax group #57

Open
rbong opened this issue May 28, 2019 · 4 comments
Open

cursorline not highlighting "Operator" syntax group #57

rbong opened this issue May 28, 2019 · 4 comments
Labels
migrated Issues migrated from morhetz/gruvbox

Comments

@rbong
Copy link

rbong commented May 28, 2019

2019-01-24-132226_339x67_scrot
The '=' isn't highlighted by cursorline.
I investigated and found this: https://github.com/morhetz/gruvbox/blob/cb4e7a5643f7d2dd40e694bcbd28c4b89b185e86/colors/gruvbox.vim#L590
call s:HL('Normal', s:fg1, s:bg0)
The syntax is setting the background back to bg0.
Don't know if it is intended behaviour but I find it very distracting sometimes.
Edit: typo.

🤖 This issue has been automatically copied from morhetz#260 🤖

@rbong rbong added the migrated Issues migrated from morhetz/gruvbox label May 28, 2019
@rbong rbong closed this as completed in b637bb5 May 30, 2019
@xuyangy
Copy link

xuyangy commented Sep 24, 2019

python def still weird:
image

same for class definition:
image

@rbong rbong reopened this Sep 25, 2019
@rbong
Copy link
Author

rbong commented Sep 25, 2019

I'm not able to recreate this or the original issue anymore. Please, anyone, post your vimrc and terminal information if you experience this issue.

@xuyangy
Copy link

xuyangy commented Sep 27, 2019

This maybe related to python-mode. Because when I disable python-mode, the problem is gone. Interestingly, if python-mode is disabled, the original issue is gone even without this fix: b637bb5

@xuyangy
Copy link

xuyangy commented Sep 27, 2019

a minimal vimrc can be:

syntax enable
filetype plugin on
call plug#begin('~/.local/share/nvim/plugged')
    Plug 'morhetz/gruvbox'
    Plug 'python-mode/python-mode', {'branch': 'develop'}
call plug#end()
colorscheme gruvbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
migrated Issues migrated from morhetz/gruvbox
Projects
None yet
Development

No branches or pull requests

2 participants