aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/parsers.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index b24b6ce0c..81747fc99 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -433,8 +433,9 @@ list.org = {
list.swift = {
install_info = {
url = "https://github.com/alex-pinkus/tree-sitter-swift",
- branch = "with-generated-files",
+ branch = "main",
files = { "src/parser.c", "src/scanner.c" },
+ requires_generate_from_grammar = true,
},
maintainers = { "@alex-pinkus" },
}