After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794022 - Add tera.lang: A template language for Rust used by e.g. Rocket framework
Add tera.lang: A template language for Rust used by e.g. Rocket framework
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2018-03-03 13:57 UTC by Tobias Schönberg
Modified: 2018-03-03 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tera.lang: Add new lang file for Tera templates (7.42 KB, patch)
2018-03-03 14:02 UTC, Tobias Schönberg
none Details | Review
tera.lang: Add new lang file for Tera templates (7.52 KB, patch)
2018-03-03 14:06 UTC, Tobias Schönberg
committed Details | Review

Description Tobias Schönberg 2018-03-03 13:57:46 UTC
The tera templating language is used by Rust frameworks. For example by Rocket:

Information:

https://github.com/Keats/tera

https://rocket.rs/guide/responses/#templates
Comment 1 Tobias Schönberg 2018-03-03 14:02:41 UTC
Created attachment 369222 [details] [review]
tera.lang: Add new lang file for Tera templates

Changes to be committed:
	modified:   data/language-specs/Makefile.am
	new file:   data/language-specs/tera.lang
	modified:   po/POTFILES.skip
	new file:   tests/syntax-highlighting/file.tera
Comment 2 Tobias Schönberg 2018-03-03 14:06:40 UTC
Created attachment 369223 [details] [review]
tera.lang: Add new lang file for Tera templates

Changes to be committed:
	modified:   data/language-specs/Makefile.am
	new file:   data/language-specs/tera.lang
	modified:   po/POTFILES.skip
	new file:   tests/syntax-highlighting/file.tera
Comment 3 Sébastien Wilmet 2018-03-03 15:46:10 UTC
Thanks!

Attachment 369223 [details] pushed as 9694791 - tera.lang: Add new lang file for Tera templates