tree-sitter: Remove the Swift grammar

It was abandoned, and the recommended one doesn't have a parser.c file
This commit is contained in:
Tae Selene Sandoval Murgan 2022-05-25 13:29:38 +02:00
parent 759b2fd776
commit 235f1299d3
4 changed files with 2 additions and 14 deletions

View file

@ -25,7 +25,6 @@
"tree-sitter-ruby",
"tree-sitter-rust",
"tree-sitter-scala",
"tree-sitter-swift",
"tree-sitter-typescript",
"tree-sitter-verilog",
"tree-sitter-zig"

View file

@ -78,7 +78,6 @@
tree-sitter-supercollider = lib.importJSON ./tree-sitter-supercollider.json;
tree-sitter-surface = lib.importJSON ./tree-sitter-surface.json;
tree-sitter-svelte = lib.importJSON ./tree-sitter-svelte.json;
tree-sitter-swift = lib.importJSON ./tree-sitter-swift.json;
tree-sitter-tlaplus = lib.importJSON ./tree-sitter-tlaplus.json;
tree-sitter-toml = lib.importJSON ./tree-sitter-toml.json;
tree-sitter-tsq = lib.importJSON ./tree-sitter-tsq.json;

View file

@ -1,11 +0,0 @@
{
"url": "https://github.com/tree-sitter/tree-sitter-swift",
"rev": "db675450dcc1478ee128c96ecc61c13272431aab",
"date": "2022-01-13T10:47:55-08:00",
"path": "/nix/store/l3535ndrmi24v5nidxppi1rqccj4s17v-tree-sitter-swift",
"sha256": "06mq1an55p75ajwn6pvcy9vlcmzrj8qmbri3mn4bxq53icnj4fya",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
"leaveDotGit": false
}

View file

@ -16,7 +16,6 @@ let
knownTreeSitterOrgGrammarRepos = [
"tree-sitter-javascript"
"tree-sitter-c"
"tree-sitter-swift"
"tree-sitter-json"
"tree-sitter-cpp"
"tree-sitter-ruby"
@ -70,6 +69,8 @@ let
"tree-sitter-razor"
# rust library for constructing arbitrary graph structures from source code
"tree-sitter-graph"
# abandoned
"tree-sitter-swift"
];
ignoredTreeSitterOrgReposJson = jsonFile "ignored-tree-sitter-org-repos" ignoredTreeSitterOrgRepos;