noctuid / lispyville

lispy + evil = lispyville
GNU General Public License v3.0
315 stars 23 forks source link

Can you clarify the indentation logic behind prettifier? #35

Closed NightMachinery closed 6 years ago

NightMachinery commented 6 years ago

I have asked about the issue here: https://stackoverflow.com/questions/49499245/what-are-the-rules-behind-the-typical-indenting-conventions-of-lisp?noredirect=1#comment86002619_49499245

Here is a screenshot of the question: image

noctuid commented 6 years ago

That's how if indentation works in elisp. It's because if can have multiple else forms in elisp unlike in common lisp (the difference in indentation is meant to distinguish the else forms).