luisiacc / gruvbox-baby

Gruvbox theme for neovim with full 🎄TreeSitter support.
MIT License
390 stars 28 forks source link

[Style Change] Remove italic from highlight "Special" #42

Closed crzdg closed 1 year ago

crzdg commented 1 year ago

The Special highlight has the style italic. This let looks the \-character for escapes look like a |-character. I do not know if this is intended.

I would propose to change the style of Special to empty/none.

Current

image image

Special with no style

image image

dfendr commented 1 year ago

You could also manually overload gruvbox-baby's settings with this snippet, placed before you set the theme.

vim.g.gruvbox_baby_highlights = {

    Special = { style = "NONE" },
}

edit: I misunderstood, I see now you're just proposing a change. I do agree that the default should not have italics.

I manually turned it off in my settings as it was making double colons look bad in Rust code.

crzdg commented 1 year ago

@luisiacc I interpreted your thumb-up as, lets do it!

So I opened a PR for this, see #43

luisiacc commented 1 year ago

Closed in https://github.com/luisiacc/gruvbox-baby/pull/43