summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-04-18 11:31:06 +0200
committerChristian Clason <christian.clason@uni-due.de>2022-04-18 11:49:29 +0200
commitfacc6fdbe161e152c59442b61ce48aa7236f0be1 (patch)
treefc4fc681484dd5cf865535f6ea49efed20b86a02
parent476a898a668bd742a500bc63e822c15c5ed77167 (diff)
feat(swift): switch to branch with generated files
-rw-r--r--lockfile.json2
-rw-r--r--lua/nvim-treesitter/parsers.lua3
2 files changed, 2 insertions, 3 deletions
diff --git a/lockfile.json b/lockfile.json
index b8865be6..3682af47 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 07332d7c..a9ed4cd1 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,
},
}