Skip to content

Commit

Permalink
support WiX and SKILL
Browse files Browse the repository at this point in the history
  • Loading branch information
Hideo Hattori committed Apr 7, 2016
1 parent a93edbf commit 6a9d4f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions language.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ var Exts map[string]string = map[string]string{
"hh": "hpp",
"html": "html",
"hxx": "hpp",
"il": "il",
"jai": "jai",
"java": "java",
"js": "js",
Expand Down Expand Up @@ -140,6 +141,7 @@ var Exts map[string]string = map[string]string{
"xml": "xml",
"xsl": "xsl",
"xslt": "xsl",
"wxs": "wxs",
"yaml": "yaml",
"yml": "yaml",
"y": "y",
Expand Down
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ func main() {
sass := NewLanguage("Sass", "//", "/*", "*/")
sed := NewLanguage("sed", "#", "", "")
sh := NewLanguage("Bourne Shell", "#", "", "")
skill := NewLanguage("SKILL", ";", "/*", "*/")
sml := NewLanguage("Standard ML", "", "(*", "*)")
sql := NewLanguage("SQL", "--", "/*", "*/")
swift := NewLanguage("Swift", "//", "/*", "*/")
Expand All @@ -120,6 +121,7 @@ func main() {
type_script := NewLanguage("TypeScript", "//", "/*", "*/")
vcproj := NewLanguage("MSBuild script", "<!--", "<!--", "-->")
vim_script := NewLanguage("Vim script", "\"", "", "")
wix := NewLanguage("WiX", "<!--", "<!--", "-->")
xml := NewLanguage("XML", "<!--", "<!--", "-->")
xsl := NewLanguage("XSLT", "<!--", "<!--", "-->")
yaml := NewLanguage("YAML", "#", "", "")
Expand Down Expand Up @@ -157,6 +159,7 @@ func main() {
"hs": haskell,
"hpp": cpp_header,
"html": html,
"il": skill,
"jai": jai,
"java": java,
"js": java_script,
Expand Down Expand Up @@ -197,6 +200,7 @@ func main() {
"ts": type_script,
"vcproj": vcproj,
"vim": vim_script,
"wxs": wix,
"xml": xml,
"xsl": xsl,
"yaml": yaml,
Expand Down

0 comments on commit 6a9d4f5

Please sign in to comment.