aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2022-02-26 19:25:31 +0100
committerGitHub <noreply@github.com>2022-02-26 19:25:31 +0100
commit7c179ac113e66ba8ccb77a9fa82a70ebe3b0e146 (patch)
tree71df5507038553e89119b2b38c3c15991b2941ed
parentd1d4187eafccc20842cd8aca90c5d57edd6ab2ab (diff)
parentdd94ac5805d45333f00990ae475206da948899b4 (diff)
downloadlite-xl-plugins-7c179ac113e66ba8ccb77a9fa82a70ebe3b0e146.tar.gz
lite-xl-plugins-7c179ac113e66ba8ccb77a9fa82a70ebe3b0e146.zip
Merge pull request #37 from TorchedSammy/go-goto-highlight
language_go: add goto as keyword
-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 28c7b88..e1c96b2 100644
--- a/plugins/language_go.lua
+++ b/plugins/language_go.lua
@@ -46,6 +46,7 @@ syntax.add {
["defer"] = "keyword",
["go"] = "keyword",
["fallthrough"] = "keyword",
+ ["goto"] = "keyword",
["int"] = "keyword2",
["int64"] = "keyword2",
["int32"] = "keyword2",