diff --git a/src/webpage/highlighter/clike/langs.json b/src/webpage/highlighter/clike/langs.json index 6f88e89..853df20 100644 --- a/src/webpage/highlighter/clike/langs.json +++ b/src/webpage/highlighter/clike/langs.json @@ -14,7 +14,7 @@ "firstLineShabang": false, "hashComments": true, "doubleSlashComments": true, - "multilineSlashComments": false, + "multilineSlashComments": true, "JSLikeTemplateStrings": false }, { @@ -25,5 +25,14 @@ "doubleSlashComments": false, "multilineSlashComments": false, "JSLikeTemplateStrings": false +}, +{ + "names":["go"], + "keywords":["break","default"," func","interface","select","case","defer","go"," map","struct","chan","else","goto","package","switch","const","fallthrough if"," range","type","continue", "for","import","return","var"], + "firstLineShabang": false, + "hashComments": false, + "doubleSlashComments": true, + "multilineSlashComments": true, + "JSLikeTemplateStrings": false } ]