Hi, I have a question about number of indentation at following case:
if condition part is multiple lines
if longCondition and
longCondition2:
echo("↑ how many indent is preferable?")
I'm thinking about sending PR to nim-mode (emacs' plugin), but I'm not sure how many indent is preferable.
Although I wrote test code here, Is this indent style OK? I saw different indent style in nim's source code, so if there is preferable style, I would follow. (sorry my poor English)
Thanks
This is actually a very good question. I would usually indent things that way, or until it looks "right" and I always wonder whether my indentation is correct.
This might have some insight, if it doesn't then it should specify what to do in this case: https://github.com/nim-lang/Nim/wiki/Style-Guide-for-Nim-Code
@Araq thoughts?