aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/nvim-treesitter/parsers.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index 7352bae73..314efab46 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -370,9 +370,10 @@ list.ocamllex = {
list.swift = {
install_info = {
- url = "https://github.com/tree-sitter/tree-sitter-swift",
- files = { "src/parser.c" },
+ url = "https://github.com/alex-pinkus/tree-sitter-swift",
+ files = { "src/parser.c", "src/scanner.c" },
requires_generate_from_grammar = true,
+ generate_requires_npm = true,
},
}