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:
parent
7f50090940
commit
8cabb4cc42
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue