AdguardTeam / VscodeAdblockSyntax

Comprehensive extension to manage Adblock Syntax in VSCode: syntax highlighter, linter and much more. Available on the VSCode Marketplace.
https://marketplace.visualstudio.com/items?itemName=adguard.adblock
MIT License
70 stars 8 forks source link

Highlight uBO's `!#else` directive condition #115

Closed MasterKia closed 8 months ago

MasterKia commented 9 months ago
!#if cap_html_filtering
example.com##^script:has-text(fakeAd)
!#else
example.com##+js(rmnt, script, fakeAd)
!#endif

Commit: https://github.com/gorhill/uBlock/commit/194354cd5d776f99c10381102afea13e5d018756

scripthunter7 commented 8 months ago

Fixed in https://github.com/AdguardTeam/VscodeAdblockSyntax/commit/39ced9cc1dd819535e084742a262a160d7ce3e0b