Skip to content

Commit

Permalink
Include comments in the post-annot indent block
Browse files Browse the repository at this point in the history
  • Loading branch information
yannham committed Sep 19, 2024
1 parent 58110f0 commit fc05ab3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions topiary-queries/queries/nickel.scm
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,9 @@
; Ideally, we would like to indent only when annotations are multi-line, but
; this isn't current possible; see [^annotations-followed-by-eq].
(_
(annot)
.
"=" @prepend_indent_start
.
(_) @append_indent_end
(annot) @append_indent_start
"="
(term) @append_indent_end
)

; Break a multi-line polymorphic type annotation after the type
Expand Down

0 comments on commit fc05ab3

Please sign in to comment.