Fixes #758. Add XTemplate support to Pretty Diff beautifier

This commit is contained in:
Glavin Wiechert 2016-03-21 10:39:48 -03:00
parent 0c3f02d3da
commit 99073d1e02
1 changed files with 2 additions and 1 deletions

View File

@ -55,6 +55,7 @@ module.exports = class PrettyDiff extends Beautifier
Swig: true
Visualforce: true
"Riot.js": true
XTemplate: true
}
beautify: (text, language, options) ->
@ -74,7 +75,7 @@ module.exports = class PrettyDiff extends Beautifier
lang = "ejs"
when "ERB"
lang = "html_ruby"
when "Handlebars", "Mustache", "Spacebars", "Swig", "Riot.js"
when "Handlebars", "Mustache", "Spacebars", "Swig", "Riot.js", "XTemplate"
lang = "handlebars"
when "SGML"
lang = "markup"