aboutsummaryrefslogtreecommitdiffstats
path: root/queries/gitcommit/highlights.scm
diff options
context:
space:
mode:
authorRiley Bruins <ribru17@hotmail.com>2024-02-29 10:41:43 -0800
committerChristian Clason <c.clason@uni-graz.at>2024-03-01 08:30:00 +0100
commit8e349b1ea938ca47e439f84811851c8d33ce9b75 (patch)
treedcd25e018d2dba366d2efa49135ea2b972117eb8 /queries/gitcommit/highlights.scm
parentfeat(format): extra newline after modeline (diff)
downloadnvim-treesitter-8e349b1ea938ca47e439f84811851c8d33ce9b75.tar
nvim-treesitter-8e349b1ea938ca47e439f84811851c8d33ce9b75.tar.gz
nvim-treesitter-8e349b1ea938ca47e439f84811851c8d33ce9b75.tar.bz2
nvim-treesitter-8e349b1ea938ca47e439f84811851c8d33ce9b75.tar.lz
nvim-treesitter-8e349b1ea938ca47e439f84811851c8d33ce9b75.tar.xz
nvim-treesitter-8e349b1ea938ca47e439f84811851c8d33ce9b75.tar.zst
nvim-treesitter-8e349b1ea938ca47e439f84811851c8d33ce9b75.zip
feat(gitcommit): highlight overflow in commit body
Diffstat (limited to 'queries/gitcommit/highlights.scm')
-rw-r--r--queries/gitcommit/highlights.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/queries/gitcommit/highlights.scm b/queries/gitcommit/highlights.scm
index 8f7036a7e..4542413c8 100644
--- a/queries/gitcommit/highlights.scm
+++ b/queries/gitcommit/highlights.scm
@@ -15,8 +15,7 @@
(subject) @markup.heading @spell
-(subject
- (overflow) @none @spell)
+(overflow) @comment.warning @spell
(subject
(subject_prefix) @function @nospell)