Bug 453525

Summary: Please add highlighting for ".html.twig" files (twig template engine)
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: Arnaud Lier <arnaud>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: loh.tar, walter.von.entferndt, waqar.17a
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arnaud Lier 2022-05-08 05:48:49 UTC
SUMMARY
The [twig template engine](https://twig.symfony.com/) is popular in web development. Highlighting these files could be helpful.

STEPS TO REPRODUCE
1. Open a `.html.twig` file

OBSERVED RESULT
No twig highlighting

EXPECTED RESULT
Twig highlighting

ADDITIONAL INFORMATION
[Twig Documentation](https://twig.symfony.com/doc/3.x/)
Comment 1 Bug Janitor Service 2023-07-22 22:48:02 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/512
Comment 2 Christoph Cullmann 2023-07-25 18:22:53 UTC
Git commit 2f05fd927cc9fe5abe5428d30d76b55a66fdc225 by Christoph Cullmann, on behalf of Jonathan Poelen.
Committed on 25/07/2023 at 20:20.
Pushed by cullmann into branch 'master'.

Add syntax highlighting for Twig

A  +165  -0    autotests/folding/test.twig.fold
A  +172  -0    autotests/html/test.twig.dark.html
A  +172  -0    autotests/html/test.twig.html
A  +165  -0    autotests/input/test.twig
A  +165  -0    autotests/reference/test.twig.ref
M  +16   -9    data/CMakeLists.txt
A  +143  -0    data/generators/generate-html.pl
D  +0    -78   data/generators/generate-php.pl
A  +499  -0    data/syntax/twig.xml

https://invent.kde.org/frameworks/syntax-highlighting/-/commit/2f05fd927cc9fe5abe5428d30d76b55a66fdc225