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/lua | |
| 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/lua')
| -rw-r--r-- | queries/lua/highlights.scm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/queries/lua/highlights.scm b/queries/lua/highlights.scm index 94fcac504..1af8e9aec 100644 --- a/queries/lua/highlights.scm +++ b/queries/lua/highlights.scm @@ -247,6 +247,3 @@ (string) @string (escape_sequence) @string.escape - -;; Error -(ERROR) @error |
