From 59a78d33938ef7a2764941fde0d6b5cbea9e5efc Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Tue, 5 Apr 2022 15:45:17 -0500 Subject: [PATCH] package alex-pinkus/tree-sitter-swift connects https://github.com/helix-editor/helix/issues/1964 --- grammar-lock.json | 7 +++++++ grammars.nix | 1 + 2 files changed, 8 insertions(+) diff --git a/grammar-lock.json b/grammar-lock.json index 36ca75b..d52f05f 100644 --- a/grammar-lock.json +++ b/grammar-lock.json @@ -376,5 +376,12 @@ "repo": "tree-sitter-llvm", "revision": "e9948edc41e9e5869af99dddb2b5ff5cc5581af6", "integrity": "M7smrjU+7L9a2kpz0wM+G+YQGTQaqsVL/Q+OCKlPpzQ=" + }, + "alex-pinkus/swift": { + "type": "github", + "owner": "alex-pinkus", + "repo": "tree-sitter-swift", + "revision": "21bb67e87a2a2a0b13853484b8c4bdaf19a04a1f", + "integrity": "N+HKq8OP1yCu/qB/u3ekay0eRERuwJtgHoiPTT8sp44=" } } diff --git a/grammars.nix b/grammars.nix index c3f3491..b816caf 100644 --- a/grammars.nix +++ b/grammars.nix @@ -152,6 +152,7 @@ in tspm.formatGrammars { ledger.cbarrete = tspm.grammar { meta.license = lib.licenses.mit; }; zig.maxxnino = tspm.grammar { meta.license = lib.licenses.mit; }; llvm.benwilliamgraham = tspm.grammar { meta.license = lib.licenses.mit; }; + swift.alex-pinkus = tspm.grammar { meta.license = lib.licenses.mit; }; # Grammars TODO: # * toml.ikatyang - needs quite a few npm dependencies but could be forked