Skip to content

Commit

Permalink
support Kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
Hideo Hattori committed Apr 18, 2016
1 parent f13d947 commit 6b8d681
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 @@ -108,6 +108,7 @@ var Exts map[string]string = map[string]string{
"jl": "jl",
"json": "json",
"jsx": "jsx",
"kt": "Kotlin",
"lds": "lds",
"less": "less",
"Objective-C": "Objective-C", // deplicated Obj-C/Matlab
Expand Down
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ func main() {
jupyter_notebook := NewLanguage("Jupyter Notebook", "#", "", "")
json := NewLanguage("JSON", "", "", "")
jsx := NewLanguage("JSX", "//", "/*", "*/")
kotlin := NewLanguage("Kotlin", "//", "/*", "*/")
less := NewLanguage("LESS", "//", "/*", "*/")
linker_script := NewLanguage("LD Script", "//", "/*", "*/")
lua := NewLanguage("Lua", "--", "--[[", "]]")
Expand Down Expand Up @@ -188,6 +189,7 @@ func main() {
"ipynb": jupyter_notebook,
"json": json,
"jsx": jsx,
"Kotlin": kotlin,
"lds": linker_script,
"less": less,
"Objective-C": objective_c,
Expand Down

0 comments on commit 6b8d681

Please sign in to comment.