Update go highlighting

This commit is contained in:
Zachary Yedidia
2017-02-10 21:00:31 -05:00
parent ced7164912
commit d695d12872
2 changed files with 3 additions and 5 deletions

View File

@@ -12,7 +12,7 @@ color type "\b(u?int(8|16|32|64)?|float(32|64)|complex(64|128))\b"
color type "\b(uintptr|byte|rune|string|interface|bool|map|chan|error)\b"
color constant "\b(true|false|nil)\b"
# Brackets n shit
# Brackets
color statement "(\{|\})"
color statement "(\(|\))"
color statement "(\[|\])"
@@ -25,10 +25,8 @@ color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
color constant.specialChar "\\[abfnrtv'\"\\]"
color constant.specialChar "\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"
color constant.string "`[^`]*`"
color constant.specialChar """
color constant.specialChar "'"
# Comments & TODOs
color comment "(^|[[:space:]])//.*"
#color comment start="/\*" end="\*/"
color comment start="/\*" end="\*/"
color todo "(TODO|XXX|FIXME):?"