diff options
| author | Alex Pinkus <62194897+alex-pinkus@users.noreply.github.com> | 2022-06-26 11:18:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-26 20:18:22 +0200 |
| commit | 556388b06955d44dc04d4dffc8bc9aba9fc7a217 (patch) | |
| tree | 6ed5e46df81f7715d7706d572851d44c816af156 | |
| parent | feat(markdown)!: switch to split parser (#3048) (diff) | |
| download | nvim-treesitter-556388b06955d44dc04d4dffc8bc9aba9fc7a217.tar nvim-treesitter-556388b06955d44dc04d4dffc8bc9aba9fc7a217.tar.gz nvim-treesitter-556388b06955d44dc04d4dffc8bc9aba9fc7a217.tar.bz2 nvim-treesitter-556388b06955d44dc04d4dffc8bc9aba9fc7a217.tar.lz nvim-treesitter-556388b06955d44dc04d4dffc8bc9aba9fc7a217.tar.xz nvim-treesitter-556388b06955d44dc04d4dffc8bc9aba9fc7a217.tar.zst nvim-treesitter-556388b06955d44dc04d4dffc8bc9aba9fc7a217.zip | |
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.
| -rw-r--r-- | lockfile.json | 2 | ||||
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lockfile.json b/lockfile.json index 33e468610..82608ba5b 100644 --- a/lockfile.json +++ b/lockfile.json @@ -303,7 +303,7 @@ "revision": "cfa3f0ac82cd680b4efaa090a0f78035ad43a7c6" }, "swift": { - "revision": "706bb2147bd7409bab2989466aff566fa0baf3c8" + "revision": "ffc574a3f108e3127fac7647563ea72b707af59a" }, "teal": { "revision": "fcc5f6f4d194dede4e676834ff28a506e39e17b4" 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" }, } |
