mirror of
https://github.com/HiPhish/rainbow-delimiters.nvim.git
synced 2024-09-16 14:24:05 +02:00
fix(fennel): update queries
Updated the queries to support the updated upstream parser. Also, simplified queries significantly.
This commit is contained in:
parent
7ef0766b5c
commit
2279491726
1 changed files with 3 additions and 16 deletions
|
@ -1,16 +1,3 @@
|
|||
(list
|
||||
"(" @delimiter
|
||||
")" @delimiter @sentinel) @container
|
||||
|
||||
(sequence
|
||||
"[" @delimiter
|
||||
"]" @delimiter @sentinel) @container
|
||||
|
||||
(table
|
||||
"{" @delimiter
|
||||
;; NOTE: see example file for usecase
|
||||
;; item:
|
||||
;; (table_pair
|
||||
;; key: (symbol) @delimiter @_colon
|
||||
;; (#eq? @_colon ":"))*
|
||||
"}" @delimiter @sentinel) @container
|
||||
(_
|
||||
open: ["(" "[" "{"] @delimiter
|
||||
close: [")" "]" "}"] @delimiter @sentinel) @container
|
||||
|
|
Loading…
Reference in a new issue