mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-06 00:13:28 +02:00
Add highlighting for git notes editmsg (#13885)
This commit is contained in:
committed by
GitHub
parent
9789b27461
commit
479c3b5584
@@ -78,6 +78,7 @@
|
||||
| git-commit | ✓ | ✓ | | |
|
||||
| git-config | ✓ | ✓ | | |
|
||||
| git-ignore | ✓ | | | |
|
||||
| git-notes | ✓ | | | |
|
||||
| git-rebase | ✓ | | | |
|
||||
| gjs | ✓ | ✓ | ✓ | `typescript-language-server`, `vscode-eslint-language-server`, `ember-language-server` |
|
||||
| gleam | ✓ | ✓ | | `gleam` |
|
||||
|
@@ -1868,6 +1868,16 @@ grammar = "gitcommit"
|
||||
name = "gitcommit"
|
||||
source = { git = "https://github.com/gbprod/tree-sitter-gitcommit", rev = "a716678c0f00645fed1e6f1d0eb221481dbd6f6d" }
|
||||
|
||||
[[language]]
|
||||
name = "git-notes"
|
||||
scope = "git.notesmsg"
|
||||
file-types = [{ glob = "NOTES_EDITMSG" }]
|
||||
comment-token = "#"
|
||||
indent = { tab-width = 4, unit = " " }
|
||||
rulers = [73]
|
||||
text-width = 72
|
||||
grammar = "gitcommit"
|
||||
|
||||
[[language]]
|
||||
name = "diff"
|
||||
scope = "source.diff"
|
||||
|
1
runtime/queries/git-notes/highlights.scm
Normal file
1
runtime/queries/git-notes/highlights.scm
Normal file
@@ -0,0 +1 @@
|
||||
(comment) @comment
|
Reference in New Issue
Block a user