On Tuesday, October 11, 2022 at 4:58:02 AM UTC-4 Wolf wrote: > Currently else is indented like this: > > (cond (else > foo))
> That does not match typical indentation used, which would be: > > (cond (else > foo)) > (Using the groups.google client) I cannot see the difference; probably some leading spaces were eaten. Can you show the difference in such a way that the spaces are not eaten? > > This commit special-cases "(else" to indent like it would be expected to > indent. It also tweaks lisp_match to accept not only "(else ", but also > "(else\x00". That means that old behaviour can mostly be restored by > adding "else" into lispwords. > What if (I can't think of a specific Lisp for which this is true, but bare with me) "(else" should not be handled this way for a filetype? Then you would have to go to extra lengths to make that work (since you say "mostly […] restored"). As a bizarre but possible example, consider defining "else" as a function; now calls to it trigger this special case, when they shouldn't. -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/1660a98a-c563-48ea-91cf-b460f53ec5een%40googlegroups.com.
