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'm tweaking a plugin for 'Vscode' that will display the colors in the '.styl' file, using the 'Parser' from the stylus package. But in some scenarios the Column value is returned wrong causing a wrong positioning of the color provider.
Fixes I found to return the correct position:
Remove the comma separating the Key:Value. (This fix resolves all issues)
Remove spaces before Key:Value. (This fix resolves all issues)
Put Tab instead of Space before Key:Value. However, if there is any space character at the end of the previous line, it is deducted from the position, returning a value smaller than the real one. See image of 'list' hash below. (This fix partially resolves the issues)
I'm tweaking a plugin for 'Vscode' that will display the colors in the '.styl' file, using the 'Parser' from the stylus package. But in some scenarios the Column value is returned wrong causing a wrong positioning of the color provider.
Fixes I found to return the correct position:
To reproduce:
Current behavior:
Expected behavior(using fixes):
Environment information:
stylus
version: v0.59.0nodejs
version: v19.7.0The text was updated successfully, but these errors were encountered: