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 741626 - Add highlighting for Mustache
Add highlighting for Mustache
Status: RESOLVED OBSOLETE
Product: gtksourceview
Classification: Platform
Component: New *.lang file
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-17 04:44 UTC by Robert Roth
Modified: 2021-07-05 11:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Using mustache.lang file provided in the comments (5.18 KB, patch)
2015-11-29 17:42 UTC, Mario Guerriero
none Details | Review

Description Robert Roth 2014-12-17 04:44:24 UTC
From downstream elementaryOS report:

"Syntax highlighting for Mustache templates would be very welcome. Other code editors like Atom and Sublime have packages to properly highlight mustache tags, and it's something I miss every day at work when I'm using Scratch.

/usr/share/gtksourceview-3.0/language-specs/html.lang would be a starting point, and there're open source packages for Atom and Sublime that might be useful.

Atom: https://atom.io/packages/language-mustache
Sublime: https://github.com/adamchainz/SublimeHTMLMustache

This would be upstreamable and could benefit users of Gedit and other applications of GtkSourceView."
Comment 1 Sébastien Wilmet 2015-04-13 14:31:53 UTC
A first step would be to provide a .lang file on the wiki.
Comment 2 denim2x 2015-06-27 09:22:32 UTC
(In reply to Sébastien Wilmet from comment #1)
> A first step would be to provide a .lang file on the wiki.

I've posted mustache.lang on the wiki: https://goo.gl/Y4tXqc.
Comment 3 Mario Guerriero 2015-11-29 17:42:55 UTC
Created attachment 316476 [details] [review]
Using mustache.lang file provided in the comments
Comment 4 Christian Hergert 2020-11-13 23:20:45 UTC
If someone would make this a merge request in gitlab, I'd be happy to review it.
Comment 5 GNOME Infrastructure Team 2021-07-05 11:01:08 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/

Thank you for your understanding and your help.