aboutsummaryrefslogtreecommitdiffstats
path: root/queries/gitcommit/highlights.scm
diff options
context:
space:
mode:
authorPham Huy Hoang <hoangtun0810@gmail.com>2023-10-25 16:45:14 +0900
committerChristian Clason <c.clason@uni-graz.at>2023-10-25 18:18:50 +0200
commit107e61afb7129d637ea6c3c68b97a22194b0bf16 (patch)
tree3a553dae422ade40a2604812d28efab123ca9bb5 /queries/gitcommit/highlights.scm
parentUpdate parsers: kotlin, wing (diff)
downloadnvim-treesitter-107e61afb7129d637ea6c3c68b97a22194b0bf16.tar
nvim-treesitter-107e61afb7129d637ea6c3c68b97a22194b0bf16.tar.gz
nvim-treesitter-107e61afb7129d637ea6c3c68b97a22194b0bf16.tar.bz2
nvim-treesitter-107e61afb7129d637ea6c3c68b97a22194b0bf16.tar.lz
nvim-treesitter-107e61afb7129d637ea6c3c68b97a22194b0bf16.tar.xz
nvim-treesitter-107e61afb7129d637ea6c3c68b97a22194b0bf16.tar.zst
nvim-treesitter-107e61afb7129d637ea6c3c68b97a22194b0bf16.zip
refactor: Remove all `(ERROR) @error` captures
As discussed in PR#5421, capturing `@error` is inconsistent, requiring deep nesting (or priority) in order to correctly have red backgrounds to it. Some queries has this capture, some don't. For consistency purposes, removing all of them is more preferable. For re-enabling error, either add `(ERROR) @error` or `(ERROR _ @error)` to your custom queries.
Diffstat (limited to 'queries/gitcommit/highlights.scm')
-rw-r--r--queries/gitcommit/highlights.scm2
1 files changed, 0 insertions, 2 deletions
diff --git a/queries/gitcommit/highlights.scm b/queries/gitcommit/highlights.scm
index ff0c4ddb3..15ba85ef8 100644
--- a/queries/gitcommit/highlights.scm
+++ b/queries/gitcommit/highlights.scm
@@ -29,5 +29,3 @@
(breaking_change (value) @text @spell)
(scissor) @comment
-
-(ERROR) @error