diff options
| author | Pham Huy Hoang <hoangtun0810@gmail.com> | 2023-10-25 16:45:14 +0900 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2023-10-25 18:18:50 +0200 |
| commit | 107e61afb7129d637ea6c3c68b97a22194b0bf16 (patch) | |
| tree | 3a553dae422ade40a2604812d28efab123ca9bb5 /queries/gitcommit/highlights.scm | |
| parent | Update parsers: kotlin, wing (diff) | |
| download | nvim-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.scm | 2 |
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 |
