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
When using the :global(...) selector with an argument nested under an element selector in a LESS css block, the syntax highlighting gets messed up (it continues to lex in LESS even after the closing </style>)
Reproduction
<stylelang="less">
div { :global(.demo) {color: blue; } }
</style>
<divclass="demo">
Text
</div>
Inspecting the scopes at class="demo" reveals that it is still lexing as LESS:
Describe the bug
When using the
:global(...)
selector with an argument nested under an element selector in a LESS css block, the syntax highlighting gets messed up (it continues to lex in LESS even after the closing</style>
)Reproduction
Inspecting the scopes at
class="demo"
reveals that it is still lexing as LESS:Expected behaviour
What the proper syntax highlighting should show:
System Info
Which package is the issue about?
svelte-language-server
Additional Information, eg. Screenshots
No response
The text was updated successfully, but these errors were encountered: