mirror of
https://github.com/HiPhish/rainbow-delimiters.nvim.git
synced 2024-09-16 14:24:05 +02:00
Remove broken query from Luadoc
This commit is contained in:
parent
98e93a75fc
commit
308cbc10a7
3 changed files with 15 additions and 30 deletions
|
@ -18,6 +18,7 @@ Fixed
|
|||
- C++ query: missing `@container` capture in one pattern
|
||||
- C++ query: duplicate pattern for `initializer_list`
|
||||
- Common Lisp query: duplicate extmarks on some delimiters
|
||||
- Luadoc query: Remove broken pattern for dictionary key type
|
||||
- Ruby query: duplicate extmarks on some delimiters
|
||||
- Zig query: duplicate extmarks on some delimiters
|
||||
- Make a better effort to make parentheses in Vim script expressions work (there
|
||||
|
|
|
@ -32,9 +32,17 @@
|
|||
"(" @delimiter
|
||||
")" @delimiter @sentinel) @container
|
||||
|
||||
(_
|
||||
"[" @delimiter
|
||||
.
|
||||
field: (_)
|
||||
.
|
||||
"]" @delimiter @sentinel) @container
|
||||
;;; Dictionary-type tables cannot be matched. Their syntax is
|
||||
;;; { [string]: VALUE_TYPE }
|
||||
;;; The type of the key is written in square brackets. The square brackets and
|
||||
;;; their contents need to be their own node, but instead they are all on the
|
||||
;;; same level without any container node.
|
||||
;;;
|
||||
;;; See also https://github.com/tree-sitter-grammars/tree-sitter-luadoc/issues/11
|
||||
;;; https://luals.github.io/wiki/annotations/#documenting-types
|
||||
; (_
|
||||
; "[" @delimiter
|
||||
; .
|
||||
; field: (_)
|
||||
; .
|
||||
; "]" @delimiter @sentinel) @container
|
||||
|
|
|
@ -77,18 +77,6 @@ return {
|
|||
hl_group = "RainbowDelimiterBlue",
|
||||
start_col = 25,
|
||||
start_row = 2
|
||||
}, {
|
||||
end_col = 28,
|
||||
end_row = 2,
|
||||
hl_group = "RainbowDelimiterOrange",
|
||||
start_col = 27,
|
||||
start_row = 2
|
||||
}, {
|
||||
end_col = 35,
|
||||
end_row = 2,
|
||||
hl_group = "RainbowDelimiterOrange",
|
||||
start_col = 34,
|
||||
start_row = 2
|
||||
}, {
|
||||
end_col = 43,
|
||||
end_row = 2,
|
||||
|
@ -107,18 +95,6 @@ return {
|
|||
hl_group = "RainbowDelimiterBlue",
|
||||
start_col = 69,
|
||||
start_row = 2
|
||||
}, {
|
||||
end_col = 73,
|
||||
end_row = 2,
|
||||
hl_group = "RainbowDelimiterBlue",
|
||||
start_col = 72,
|
||||
start_row = 2
|
||||
}, {
|
||||
end_col = 81,
|
||||
end_row = 2,
|
||||
hl_group = "RainbowDelimiterBlue",
|
||||
start_col = 80,
|
||||
start_row = 2
|
||||
}, {
|
||||
end_col = 92,
|
||||
end_row = 2,
|
||||
|
|
Loading…
Reference in a new issue