From abeeb686ab6cff35bba03e92096ecbecd2e47cc8 Mon Sep 17 00:00:00 2001 From: Peter Tripp Date: Tue, 25 Feb 2025 11:47:11 -0500 Subject: [PATCH] Remove "Diff" language. Zed now ships support for diff/patch files as a 1st class language. See: - https://github.com/zed-industries/zed/pull/19129 Closes #3 --- extension.toml | 4 ---- languages/diff/config.toml | 5 ----- languages/diff/highlights.scm | 15 --------------- 3 files changed, 24 deletions(-) delete mode 100644 languages/diff/config.toml delete mode 100644 languages/diff/highlights.scm diff --git a/extension.toml b/extension.toml index 24c4fb8..2a521b5 100644 --- a/extension.toml +++ b/extension.toml @@ -6,10 +6,6 @@ authors = [ "d1y " ] description = "Provides Git Syntax Highlighting" repository = "https://github.com/d1y/git_firefly" -[grammars.diff] -repository = "https://github.com/the-mikedavis/tree-sitter-diff" -commit = "c165725c28e69b36c5799ff0e458713a844f1aaf" - [grammars.git_commit] repository = "https://github.com/the-mikedavis/tree-sitter-git-commit" commit = "6f193a66e9aa872760823dff020960c6cedc37b3" diff --git a/languages/diff/config.toml b/languages/diff/config.toml deleted file mode 100644 index 886f469..0000000 --- a/languages/diff/config.toml +++ /dev/null @@ -1,5 +0,0 @@ -name = "Diff" -grammar = "diff" -path_suffixes = ["diff"] -line_comments = ["#"] -brackets = [] diff --git a/languages/diff/highlights.scm b/languages/diff/highlights.scm deleted file mode 100644 index d8e6008..0000000 --- a/languages/diff/highlights.scm +++ /dev/null @@ -1,15 +0,0 @@ -[ - (addition) - (new_file) -] @diff.plus - -[ - (deletion) - (old_file) -] @diff.minus - -(commit) @constant - -(location) @attribute - -(command) @function