mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
split delimiter into open_delimiter and close_delimiter
This commit is contained in:
parent
d1333dd7e5
commit
b4fcc61175
10 changed files with 65 additions and 36 deletions
|
|
@ -42,8 +42,8 @@
|
|||
] @indent
|
||||
|
||||
;; This only works with expanded tabs.
|
||||
; ((parameters) @aligned_indent (#set! "delimiter" "()"))
|
||||
; ((arguments) @aligned_indent (#set! "delimiter" "()"))
|
||||
; ((parameters) @aligned_indent (#set! "open_delimiter" "(") (#set! "close_delimiter" ")"))
|
||||
; ((arguments) @aligned_indent (#set! "open_delimiter" "(") (#set! "close_delimiter" ")"))
|
||||
|
||||
;; The following queries either do not agree with the current body parsing or are
|
||||
;; attempted workarounds. Specifically as the last statement of a body. Opening
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue