Skip to content

Commit

Permalink
support XSD
Browse files Browse the repository at this point in the history
  • Loading branch information
hhatto committed Apr 19, 2016
1 parent 7d2f587 commit 8aed783
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions language.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ var Exts map[string]string = map[string]string{
"vcproj": "vcproj",
"vim": "vim",
"xml": "xml",
"xsd": "XSD",
"xsl": "xsl",
"xslt": "xsl",
"wxs": "wxs",
Expand Down
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ func main() {
vim_script := NewLanguage("Vim script", "\"", "", "")
wix := NewLanguage("WiX", "<!--", "<!--", "-->")
xml := NewLanguage("XML", "<!--", "<!--", "-->")
xsd := NewLanguage("XSD", "<!--", "<!--", "-->")
xsl := NewLanguage("XSLT", "<!--", "<!--", "-->")
yaml := NewLanguage("YAML", "#", "", "")
yacc := NewLanguage("Yacc", "//", "/*", "*/")
Expand Down Expand Up @@ -235,6 +236,7 @@ func main() {
"wxs": wix,
"xml": xml,
"xsl": xsl,
"XSD": xsd,
"yaml": yaml,
"y": yacc,
"zsh": zsh,
Expand Down

0 comments on commit 8aed783

Please sign in to comment.