aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_go.lua
diff options
context:
space:
mode:
authorTorchedSammy <38820196+TorchedSammy@users.noreply.github.com>2022-02-26 14:08:01 -0400
committerTorchedSammy <38820196+TorchedSammy@users.noreply.github.com>2022-02-26 14:08:01 -0400
commitdd94ac5805d45333f00990ae475206da948899b4 (patch)
tree0cfb555a6e55a950c3669c6fd04c5fe3f1b273b3 /plugins/language_go.lua
parent5cd708b4a70c7285f5dcbb8004d265233921c6d2 (diff)
downloadlite-xl-plugins-dd94ac5805d45333f00990ae475206da948899b4.tar.gz
lite-xl-plugins-dd94ac5805d45333f00990ae475206da948899b4.zip
language_go: add goto as keyword
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 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",