Skip to content

fix(lexers.less): Fix support for single‑line comments in LESS#3005

Merged
Anteru merged 1 commit intopygments:masterfrom
ExE-Boss:fix/lexers/less/fix-line-comments
Jan 11, 2026
Merged

fix(lexers.less): Fix support for single‑line comments in LESS#3005
Anteru merged 1 commit intopygments:masterfrom
ExE-Boss:fix/lexers/less/fix-line-comments

Conversation

@ExE-Boss
Copy link
Copy Markdown
Contributor

This fixes the LESS part of #2852.


Unfortunately, the single‑line comment definitions have to be copied in every location instead of defining them once in basics, as include('basics') doesn’t take overrides into account.

@Anteru Anteru added this to the 2.20.0 milestone Jan 11, 2026
@Anteru Anteru merged commit ad4d4eb into pygments:master Jan 11, 2026
15 checks passed
@Anteru
Copy link
Copy Markdown
Collaborator

Anteru commented Jan 11, 2026

Merged, thanks!

@ExE-Boss ExE-Boss deleted the fix/lexers/less/fix-line-comments branch January 12, 2026 04:34
@Anteru Anteru added A-lexing area: changes to individual lexers labels Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-lexing area: changes to individual lexers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants