Open uvtc opened 3 years ago
It may be that addressing this is a matter of modifying janet--set-indentation
: https://github.com/ALSchwalm/janet-mode/blob/2f5bcabcb6953e1ed1926ba6a2328c453e8b4ac7/janet-mode.el#L368-L396
For reference, spork/fmt
has the following bit for "2-indent forms": https://github.com/janet-lang/spork/blob/962b81551b3ca9d0b39a1ceb871128ab8064f84b/spork/fmt.janet#L80-L88
Indentation of next line after
(eachk ...
and(eachp ...
should be the same as it does for(each ...
(indents 2 spaces in).