Skip to content

Add lexer for Vue SFC (*.vue)#2832

Merged
Anteru merged 2 commits intopygments:masterfrom
diskdance:vue-sfc
Jan 5, 2025
Merged

Add lexer for Vue SFC (*.vue)#2832
Anteru merged 2 commits intopygments:masterfrom
diskdance:vue-sfc

Conversation

@diskdance
Copy link
Contributor

@diskdance diskdance commented Dec 25, 2024

Closes #2111.

Note that <script> and <style> always use JavaScript and CSS lexer accordingly because it's inherited from HtmlLexer. If there are any requirements to support lang detection (TypeScript, Pug, LESS etc.) this can be improved in the future.

@Anteru Anteru added the A-lexing area: changes to individual lexers label Jan 5, 2025
@Anteru Anteru added this to the 2.19.0 milestone Jan 5, 2025
@Anteru Anteru merged commit 00c8bd3 into pygments:master Jan 5, 2025
@Anteru
Copy link
Collaborator

Anteru commented Jan 5, 2025

Merged, thanks!

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.

new lexer request: Vue.js

2 participants