doums / darcula

A Vim color scheme reproduction of the official JetBrains IDE Darcula theme
368 stars 59 forks source link

Text under cursorline radically changes color #20

Closed r-glebov closed 3 years ago

r-glebov commented 3 years ago

Just wondering if it is a feature or a bug? Is it possible to turn off that kind of color switching?

screen-rec

doums commented 3 years ago

Hi, no it's bug. What do you use, vim, n/vim ? Which version ? Do you use treesitter ?

r-glebov commented 3 years ago

I'm using neovim 0.5.0, nightly builds, basically any build including the last one had this problem. And I'm using treesitter.

doums commented 3 years ago

Okay, I didnt tested yet darcula myself on nvim 0.5. It seems they changed something on hi groups compared to nvim 0.4. I will install 0.5 and fix this.

doums commented 3 years ago

Hi,

I have played a bit with nvim 0.5 and treesitter. And I had a similar "bug" as you shown but in my case for typescript. I rapidly identified the cause : it was caused by the plugin leafgarland/typescript-vim which also provides syntax and highlight for typescript files, and logically conflict with treesitter. Just had to remove it from my config and the problem was gone. Plus it is useless now since I use treesitter.

I suspect you are in the same case but for your language, try to disable other plugin that bring syntax and highlight stuff. I close the issue for now, feel free to open it again if it's not that.