Closed krystian3w closed 1 year ago
Maybe should fixed by #50 if cover GitHub.
The final solution will probably be given by PR https://github.com/ameshkov/VscodeAdblockSyntax/pull/50, as you write, since a new CSS highlighter will be introduced there. The current "problem" with this PR is that the TM language source should be converted to YAML so that it is more maintainable, and it is also necessary to introduce tokenization unit tests, since quite a lot is covered.
This issue caused by cssStyle
:
The regex should be modified to handle the media query as well.
@krystian3w @Alex-302 Please try the temporary fix here
Commit reference: https://github.com/scripthunter7/VscodeAdblockSyntax/commit/b815876ad1e0c1b5e45d0c37f6cb02401bb12674
Please note that after its merged, Github's highlighter will not take effect, as it only receives new grammars during the Linguist relese (approximately every quarter)
@krystian3w It seems that the new version has been uploaded to GitHub, but it will take some time before it will work properly everywhere:
#$#@media (a: b) { .selector { a: b; } }
In AdGuard Filters maybe all usage was removed - maybe as outdated (or I can not remember files with ~13 rules).
I see these is now invalid at end:
In uBo run only as:
Filters is useful for articles on
rootblog.pl
to hide nasty Google news promotion. For now only covered wide PC.(I don't see opened issue in FiltersCompiler about this parole by gorhill - still rejected will be "key frames" or "supports")