From 5cd708b4a70c7285f5dcbb8004d265233921c6d2 Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Sat, 12 Feb 2022 17:13:41 -0400 Subject: language_go: add rune to string highlight --- plugins/language_go.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/language_go.lua') 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" }, -- cgit v1.2.3