on master help sign in
add go.work and remove Gopkg.toml as Go roots (#6884)
488707cDaniel Martí
languages.toml+1−1
@@ -292,7 +292,7 @@ name = "go"
292scope = "source.go"
292scope = "source.go"
293injection-regex = "go"
293injection-regex = "go"
294file-types = ["go"]
294file-types = ["go"]
295−roots = ["Gopkg.toml", "go.mod"]
295+roots = ["go.work", "go.mod"]
296auto-format = true
296auto-format = true
297comment-token = "//"
297comment-token = "//"
298language-server = { command = "gopls" }
298language-server = { command = "gopls" }