set .indent _right_ after a top-level line comment
commit9e3c5c1dfac720c5b1df18d3097ae4a9115d6799
authorGeorgi Kirilov <>
Sat, 31 Oct 2020 09:50:53 +0000 (31 11:50 +0200)
committerGeorgi Kirilov <>
Fri, 19 May 2023 15:24:22 +0000 (19 18:24 +0300)
tree2d5dfd3f6a24b6ebf3c495ad8bd4c4aef8df6a93
parentdf1f0d51b4aff06a0e33f2cbd9c8ede34cbfca3a
set .indent _right_ after a top-level line comment

;; after landing on a
(defun
    like this)

.indent wasn't set because the parser didn't have the chance
to see the newline (it is part of the comment)

This was only a problem when landing on such a defun for the first time
which would use the incremental feature of the parser.
If it was "drive-by" parsed, there was no problem.
parser/init.lua