diff --git a/lockfile.json b/lockfile.json index b8865be66..3682af478 100644 --- a/lockfile.json +++ b/lockfile.json @@ -282,7 +282,7 @@ "revision": "cfa3f0ac82cd680b4efaa090a0f78035ad43a7c6" }, "swift": { - "revision": "b219297b69837a5d55f1235236c6f77b65f8b0ab" + "revision": "9607603b9bd7a174b06567367ae3949c7a19f011" }, "teal": { "revision": "fcc5f6f4d194dede4e676834ff28a506e39e17b4" diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 07332d7c0..a9ed4cd12 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -416,9 +416,8 @@ list.ocamllex = { list.swift = { install_info = { url = "https://github.com/alex-pinkus/tree-sitter-swift", + branch = "with-generated-files", files = { "src/parser.c", "src/scanner.c" }, - requires_generate_from_grammar = true, - generate_requires_npm = true, }, }