diff options
author | TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> | 2022-02-12 17:13:41 -0400 |
---|---|---|
committer | TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> | 2022-02-12 17:13:48 -0400 |
commit | 5cd708b4a70c7285f5dcbb8004d265233921c6d2 (patch) | |
tree | ad0ddbc9e42aca86efc61c101dd75fb199a7919c | |
parent | 0b8440ae0d9cf0697f8bece9fbf49219e77747ee (diff) | |
download | lite-xl-plugins-5cd708b4a70c7285f5dcbb8004d265233921c6d2.tar.gz lite-xl-plugins-5cd708b4a70c7285f5dcbb8004d265233921c6d2.zip |
language_go: add rune to string highlight
-rw-r--r-- | plugins/language_go.lua | 1 |
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" }, |