aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_go.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/language_go.lua')
-rw-r--r--plugins/language_go.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/language_go.lua b/plugins/language_go.lua
index 51dd1ef..28c7b88 100644
--- a/plugins/language_go.lua
+++ b/plugins/language_go.lua
@@ -10,6 +10,7 @@ syntax.add {
{ pattern = { "/%*", "%*/" }, type = "comment" },
{ pattern = { '"', '"', '\\' }, type = "string" },
{ pattern = { "`", "`", '\\' }, type = "string" },
+ { pattern = { "'", "'", '\\' }, type = "string" },
{ pattern = "0[oO_][0-7]+", type = "number" },
{ pattern = "-?0x[%x_]+", type = "number" },
{ pattern = "-?%d+_%d", type = "number" },