aboutsummaryrefslogtreecommitdiffstats
path: root/queries/gitcommit
diff options
context:
space:
mode:
authorObserverOfTime <chronobserver@disroot.org>2022-11-25 09:28:26 +0200
committerChristian Clason <christian.clason@uni-due.de>2022-11-25 09:00:42 +0100
commit5e055d81e0d740cde4c3bb4ff13e40e89ae6175a (patch)
tree227f90fcbd03065484b5d67584b5dfe89424b938 /queries/gitcommit
parentci: fix check for valid capture (diff)
downloadnvim-treesitter-5e055d81e0d740cde4c3bb4ff13e40e89ae6175a.tar
nvim-treesitter-5e055d81e0d740cde4c3bb4ff13e40e89ae6175a.tar.gz
nvim-treesitter-5e055d81e0d740cde4c3bb4ff13e40e89ae6175a.tar.bz2
nvim-treesitter-5e055d81e0d740cde4c3bb4ff13e40e89ae6175a.tar.lz
nvim-treesitter-5e055d81e0d740cde4c3bb4ff13e40e89ae6175a.tar.xz
nvim-treesitter-5e055d81e0d740cde4c3bb4ff13e40e89ae6175a.tar.zst
nvim-treesitter-5e055d81e0d740cde4c3bb4ff13e40e89ae6175a.zip
feat(gitcommit): add spell checking
Diffstat (limited to 'queries/gitcommit')
-rw-r--r--queries/gitcommit/highlights.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/queries/gitcommit/highlights.scm b/queries/gitcommit/highlights.scm
index c44428b0a..ff0c4ddb3 100644
--- a/queries/gitcommit/highlights.scm
+++ b/queries/gitcommit/highlights.scm
@@ -7,10 +7,10 @@
(filepath) @text.uri
(arrow) @punctuation.delimiter
-(subject) @text.title
-(subject (overflow) @text)
-(prefix (type) @keyword)
-(prefix (scope) @parameter)
+(subject) @text.title @spell
+(subject (overflow) @text @spell)
+(prefix (type) @keyword @nospell)
+(prefix (scope) @parameter @nospell)
(prefix [
"("
")"
@@ -20,13 +20,13 @@
"!"
] @punctuation.special)
-(message) @text
+(message) @text @spell
(trailer (token) @label)
(trailer (value) @text)
(breaking_change (token) @text.warning)
-(breaking_change (value) @text)
+(breaking_change (value) @text @spell)
(scissor) @comment