split delimiter into open_delimiter and close_delimiter

This commit is contained in:
George Harker 2023-03-19 18:55:48 -07:00 committed by Amaan Qureshi
parent d1333dd7e5
commit b4fcc61175
10 changed files with 65 additions and 36 deletions

View file

@ -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