You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd love a way to define custom color matching patterns so this would work with more color formats.
I use this in VSCodium to work with lua code from FantasyGrounds (a virtual tabletop for playing RPGs) where colors are represented in two rather strange ways:
A string with 6 characters such as ColorManager.COLOR_FULL = "DDDDDD"; -- Replaceable Color: Usage Full
A table of r g b values such as ColorManager.COLOR_GRADIENT_TOP = { r = 0, g = 0, b = 0 }; -- Replaceable Channels: Gradient Top
I'd love a way to define custom color matching patterns so this would work with more color formats.
I use this in VSCodium to work with lua code from FantasyGrounds (a virtual tabletop for playing RPGs) where colors are represented in two rather strange ways:
A string with 6 characters such as
ColorManager.COLOR_FULL = "DDDDDD"; -- Replaceable Color: Usage Full
A table of r g b values such as
ColorManager.COLOR_GRADIENT_TOP = { r = 0, g = 0, b = 0 }; -- Replaceable Channels: Gradient Top
For example:
https://github.com/SirMotte/FGU-Theme-Hearth/blob/Hearth-Edition-Main/scripts/manager_color_2.lua
The text was updated successfully, but these errors were encountered: