Closed rwols closed 1 year ago
These are ST specific variables. The server has no way of knowing they exist.
Perhaps we can deduce the RGB colors and send them in the workspace/didChangeConfiguration
notification. The server can then lookup var colors that it cannot deduce just from the file.
But this server can't even understand css variables, it seems:
There is nothing that can be done in the LSP-css repo to achieve this, this feature should be opened at css language server repo.
Feel free to open a feature request at the server repo. I will close this as there is nothing that this plugin can do about it.
When doing CSS for plugin development the best choice of colors are the
var(--greenish)
andvar(--redish)
etc, because they will match the user's color scheme. However this server doesn't display color boxes for those colors.