Don't change it; it's (relatively) easy to `:setlocal lispwords-=if` for 
any relevant filetypes.

On Tuesday, October 11, 2022 at 6:39:19 AM UTC-4 Bram Moolenaar wrote:

>
> > Currently if indents like:
> > 
> > (if #t
> > a
> > b)
> > 
> > That seems to be bit unusual, so this commit drops if from the default
> > lw, leading to expected indentation of:
> > 
> > (if #t
> > a
> > b)
> > 
> > Old behavior can be restored by putting if back into lw.
> > ---
> > This can be changed in .vimrc, so arguable not a necessary change. But
> > as a newcomer to lisp it took me a while to figure out why vim formats
> > it differently compared to literally any textbook or tutorial I've
> > managed to found.
>
> I hesitate to change an option value that has been like this for 20
> years. It used to be built into the code until it was made an option,
> so that you can change it to your liking.
>
> Any other Lisp users have an opinion?
>
> -- 
> WOMAN: I didn't know we had a king. I thought we were an autonomous
> collective.
> DENNIS: You're fooling yourself. We're living in a dictatorship. A
> self-perpetuating autocracy in which the working classes--
> WOMAN: Oh there you go, bringing class into it again.
> DENNIS: That's what it's all about if only people would--
> The Quest for the Holy Grail (Monty Python)
>
> /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
> /// \\\
> \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
> \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
>

-- 
-- 
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/e7685ecb-640a-4674-8dc8-9ecadeeb69c8n%40googlegroups.com.

Raspunde prin e-mail lui