diff options
author | Indrajith K L | 2022-12-03 17:00:20 +0530 |
---|---|---|
committer | Indrajith K L | 2022-12-03 17:00:20 +0530 |
commit | f5c4671bfbad96bf346bd7e9a21fc4317b4959df (patch) | |
tree | 2764fc62da58f2ba8da7ed341643fc359873142f /helix-22.03-x86_64-windows/runtime/queries/git-commit | |
download | cli-tools-windows-master.tar.gz cli-tools-windows-master.tar.bz2 cli-tools-windows-master.zip |
Diffstat (limited to 'helix-22.03-x86_64-windows/runtime/queries/git-commit')
-rw-r--r-- | helix-22.03-x86_64-windows/runtime/queries/git-commit/highlights.scm | 14 | ||||
-rw-r--r-- | helix-22.03-x86_64-windows/runtime/queries/git-commit/injections.scm | 8 |
2 files changed, 22 insertions, 0 deletions
diff --git a/helix-22.03-x86_64-windows/runtime/queries/git-commit/highlights.scm b/helix-22.03-x86_64-windows/runtime/queries/git-commit/highlights.scm new file mode 100644 index 0000000..0b50d41 --- /dev/null +++ b/helix-22.03-x86_64-windows/runtime/queries/git-commit/highlights.scm @@ -0,0 +1,14 @@ +(subject) @markup.heading +(path) @string.special.path +(branch) @string.special.symbol +(commit) @constant +(item) @markup.link.url +(header) @tag + +(change kind: "new file" @diff.plus) +(change kind: "deleted" @diff.minus) +(change kind: "modified" @diff.delta) +(change kind: "renamed" @diff.delta.moved) + +[":" "->"] @punctuation.delimeter +(comment) @comment diff --git a/helix-22.03-x86_64-windows/runtime/queries/git-commit/injections.scm b/helix-22.03-x86_64-windows/runtime/queries/git-commit/injections.scm new file mode 100644 index 0000000..79f7691 --- /dev/null +++ b/helix-22.03-x86_64-windows/runtime/queries/git-commit/injections.scm @@ -0,0 +1,8 @@ +(((scissors) + (message) @injection.content) + (#set! injection.include-children) + (#set! injection.language "diff")) + +((rebase_command) @injection.content + (#set! injection.include-children) + (#set! injection.language "git-rebase")) |