rktjmp / lush.nvim

Create Neovim themes with real-time feedback, export anywhere.
MIT License
1.45k stars 47 forks source link

Request: Highlighting calls of the form `hsl '#rrggbb'` like normal `hsl('#rrggbb')` #40

Closed Joakker closed 3 years ago

Joakker commented 3 years ago

Currently, a construction of the form hsl('#rrggbb') is highlighted with the proper colour background under :Lushify. However, if I were to do the equivalent hsl '#rrggbb', while it yields the same value, it isn't highlighted in any special way at all.

This isn't a huge problem, but if the user's coding style prefers the later construction over the former in cases like this, they'd loose on the real-time feedback the plugin brings.

With brackets

image

Without brackets

image

rktjmp commented 3 years ago

Fixed in bcc4046db0adce9dbc95064207caf40e3cc6212d