lewis6991 / gitsigns.nvim

Git integration for buffers
MIT License
4.87k stars 186 forks source link

Added curhl to change the cursorline highlight for signs #1048

Closed c0r73x closed 2 months ago

c0r73x commented 2 months ago

Adds curhl to signs, fixes https://github.com/lewis6991/gitsigns.nvim/issues/563

lewis6991 commented 2 months ago

Needs to be added and documented in the config and added properly to the type annotations.

Also need to define and document default highlight groups for this.

c0r73x commented 2 months ago

I added it to the default config, though i think it's kinda pointless since it will always default to the sign highlight unless specified. 🤷‍♂️

lewis6991 commented 2 months ago

Why does that make it pointless?

c0r73x commented 2 months ago

Since if it's not specified it will work as it did before, and If it's specified it will change the cursor highlight to the specified group. So the default config could just as well exclude the curhl value and nothing would change.

lewis6991 commented 2 months ago

I don't think you understand.