From 3b05ef44927cc245d2c68873d0a526592d3f93cd Mon Sep 17 00:00:00 2001 From: Omer Tuchfeld Date: Thu, 16 Dec 2021 22:40:06 +0100 Subject: Add support for new golang `go.work` files The new golang 1.18 version (currently in beta) [introduced](https://github.com/golang/go/issues/45713) a new file type called `go.work`. This commit adds support for the syntax of that file using the https://github.com/omertuc/tree-sitter-go-work repository That repository is heavily based on previous work in the https://github.com/camdencheek/tree-sitter-go-mod repository, with a few minor changes to make it work on the very similar `go.work` files. --- lockfile.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lockfile.json') diff --git a/lockfile.json b/lockfile.json index b3391b43..ca0a6f70 100644 --- a/lockfile.json +++ b/lockfile.json @@ -89,6 +89,9 @@ "gomod": { "revision": "3cbcb572109ea0bc476a292208722c326c9e6c3a" }, + "gowork": { + "revision": "aafab008b4c855f20871cb978e41cf3b94466c70" + }, "graphql": { "revision": "5e66e961eee421786bdda8495ed1db045e06b5fe" }, -- cgit v1.2.3