mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
The latest release of the grammar changes the handling of consecutive line breaks. This breaks the existing test for indents. This commit updates the indent queries and fixes the associated test.
49 lines
313 B
Text
49 lines
313 B
Text
IF &a
|
|
STOP
|
|
|
|
IF (TRUE())
|
|
(
|
|
BREAK
|
|
)
|
|
|
|
IF (&b+CouNT())
|
|
(
|
|
continue
|
|
)
|
|
|
|
IF FOUND()
|
|
STOP
|
|
ELSE
|
|
CONTinue
|
|
|
|
IF &c
|
|
CONTinue
|
|
ELSE IF FALSE()
|
|
Break
|
|
ELSE
|
|
stop
|
|
|
|
IF &d
|
|
(
|
|
STOP
|
|
)
|
|
ELSE IF &e
|
|
; comment A
|
|
(
|
|
CONTINUE
|
|
)
|
|
ELSE
|
|
; comment B
|
|
(
|
|
BREAK
|
|
)
|
|
|
|
IF &f
|
|
IF &g
|
|
stop
|
|
ELSE
|
|
IF &h
|
|
(
|
|
continue
|
|
)
|
|
|