From 692b051b09935653befdb8f7ba8afdb640adf17b Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Mon, 12 Jun 2023 09:54:30 -0600 Subject: feat!: drop modules, general refactor and cleanup --- queries/gitcommit/highlights.scm | 49 ---------------------------------------- queries/gitcommit/injections.scm | 5 ---- 2 files changed, 54 deletions(-) delete mode 100644 queries/gitcommit/highlights.scm delete mode 100644 queries/gitcommit/injections.scm (limited to 'queries/gitcommit') diff --git a/queries/gitcommit/highlights.scm b/queries/gitcommit/highlights.scm deleted file mode 100644 index b096056cc..000000000 --- a/queries/gitcommit/highlights.scm +++ /dev/null @@ -1,49 +0,0 @@ -(comment) @comment - -(generated_comment) @comment - -(title) @markup.heading - -; (text) @none -(branch) @markup.link - -(change) @keyword - -(filepath) @string.special.path - -(arrow) @punctuation.delimiter - -(subject) @markup.heading @spell - -(subject - (subject_prefix) @function @nospell) - -(prefix - (type) @keyword @nospell) - -(prefix - (scope) @variable.parameter @nospell) - -(prefix - [ - "(" - ")" - ":" - ] @punctuation.delimiter) - -(prefix - "!" @punctuation.special) - -(message) @spell - -(trailer - (token) @label) - -; (trailer (value) @none) -(breaking_change - (token) @comment.error) - -(breaking_change - (value) @none @spell) - -(scissor) @comment diff --git a/queries/gitcommit/injections.scm b/queries/gitcommit/injections.scm deleted file mode 100644 index 5613d7e8e..000000000 --- a/queries/gitcommit/injections.scm +++ /dev/null @@ -1,5 +0,0 @@ -((diff) @injection.content - (#set! injection.language "diff")) - -((rebase_command) @injection.content - (#set! injection.language "git_rebase")) -- cgit v1.2.3-70-g09d2