add coldfusion support

pretty diff uses "html" as the lang for coldfusion
https://github.com/Glavin001/atom-beautify/issues/354#issuecomment-165012711
This commit is contained in:
Bill Rawlinson 2015-12-18 11:13:43 -05:00
parent 7f50090940
commit 8cabb4cc42
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@ module.exports = class PrettyDiff extends Beautifier
]
# Apply language-specific options
CSV: true
CFML: true
ERB: true
EJS: true
HTML: true
@ -65,6 +66,8 @@ module.exports = class PrettyDiff extends Beautifier
switch language
when "CSV"
lang = "csv"
when "CFML"
lang = "html"
when "EJS", "Twig"
lang = "ejs"
when "ERB"