Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add Pug syntax highlighting#3853

Draft
coyaSONG wants to merge 2 commits into
sharkdp:mastersharkdp/bat:masterfrom
coyaSONG:agent/add-pug-syntaxcoyaSONG/bat:agent/add-pug-syntaxCopy head branch name to clipboard
Draft

Add Pug syntax highlighting#3853
coyaSONG wants to merge 2 commits into
sharkdp:mastersharkdp/bat:masterfrom
coyaSONG:agent/add-pug-syntaxcoyaSONG/bat:agent/add-pug-syntaxCopy head branch name to clipboard

Conversation

@coyaSONG

Copy link
Copy Markdown

Summary

  • add the Package Control Pug syntax as a pinned submodule
  • add an MIT-attributed Pug syntax regression fixture and generated highlighting output
  • update the existing Vue fixture to verify embedded Pug highlighting

Closes #1492.

Validation

  • cargo test --locked
  • rebuilt the official syntax assets with assets/create.sh, then rebuilt bat
  • confirmed target/debug/bat --list-languages includes Pug:pug
  • regenerated the full syntax-fixture set and confirmed the committed Pug and Vue outputs match

Disclosure

This change was implemented and validated by OpenAI Codex. It has not been reviewed by a human on the contributor side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pug Syntax

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.