summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index abf76d7c..dc8dac7d 100644
--- a/languages.toml
+++ b/languages.toml
@@ -292,7 +292,7 @@ name = "go"
scope = "source.go"
injection-regex = "go"
file-types = ["go"]
-roots = ["Gopkg.toml", "go.mod"]
+roots = ["go.work", "go.mod"]
auto-format = true
comment-token = "//"
language-server = { command = "gopls" }