summaryrefslogtreecommitdiff
path: root/lua/nvim-treesitter/parsers.lua
diff options
context:
space:
mode:
authorAlex Pinkus <62194897+alex-pinkus@users.noreply.github.com>2022-06-26 11:18:22 -0700
committerGitHub <noreply@github.com>2022-06-26 20:18:22 +0200
commit556388b06955d44dc04d4dffc8bc9aba9fc7a217 (patch)
tree6ed5e46df81f7715d7706d572851d44c816af156 /lua/nvim-treesitter/parsers.lua
parent002084b1bea4311fdac184f080206bf890937d80 (diff)
feat(swift): compile the grammar from the main branch (#3068)
The `with-generated-files` branch uses ABI 13 and therefore doesn't benefit from the ABI 14 speed improvements.
Diffstat (limited to 'lua/nvim-treesitter/parsers.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 b24b6ce0..81747fc9 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" },
}