aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-01-16 11:02:16 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-16 14:27:24 +0100
commitcca7d1d671348369ae4930bc723feeff5b6f34ae (patch)
tree8882e0682b037dba2a81447ad847c45f3f8153ee /lua
parentchore: only use *.glsl for GLSL (diff)
downloadnvim-treesitter-cca7d1d671348369ae4930bc723feeff5b6f34ae.tar
nvim-treesitter-cca7d1d671348369ae4930bc723feeff5b6f34ae.tar.gz
nvim-treesitter-cca7d1d671348369ae4930bc723feeff5b6f34ae.tar.bz2
nvim-treesitter-cca7d1d671348369ae4930bc723feeff5b6f34ae.tar.lz
nvim-treesitter-cca7d1d671348369ae4930bc723feeff5b6f34ae.tar.xz
nvim-treesitter-cca7d1d671348369ae4930bc723feeff5b6f34ae.tar.zst
nvim-treesitter-cca7d1d671348369ae4930bc723feeff5b6f34ae.zip
fix(swift): switch to maintained parser
upstream https://github.com/tree-sitter/tree-sitter-swift is abandoned.
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,
},
}