Add Closure Templates (#3634)

* Add Closure Templates to languages.yml

* Run script/add-grammar

* Add sample

* Run script/set-language-ids

* Add codemirror_mime_type
This commit is contained in:
Michael Hadley
2017-05-25 01:15:32 -07:00
committed by Colin Seymour
parent 234ee8b6d2
commit 20fdac95f6
7 changed files with 70 additions and 2 deletions

View File

@@ -2,8 +2,7 @@
#
# type - Either data, programming, markup, prose, or nil
# aliases - An Array of additional aliases (implicitly
# includes the lowercase name with spaces replaced
# by dashes)
# includes name.downcase)
# ace_mode - A String name of the Ace Mode used for highlighting whenever
# a file is edited. This must match one of the filenames in http://git.io/3XO_Cg.
# Use "text" if a mode does not exist.
@@ -688,6 +687,18 @@ Clojure:
filenames:
- riemann.config
language_id: 62
Closure Templates:
type: markup
group: HTML
ace_mode: soy_template
codemirror_mode: soy
codemirror_mime_type: text/x-soy
alias:
- soy
extensions:
- ".soy"
tm_scope: text.html.soy
language_id: 357046146
CoffeeScript:
type: programming
tm_scope: source.coffee