[slimpl] How to help Slimpl
Larry Clapp
larry at theclapp.org
Fri Feb 24 11:07:05 CST 2006
On Fri, Feb 24, 2006 at 08:11:44PM +0500, Dmitry Petukhov wrote:
> 2006/2/23, Larry Clapp <larry at theclapp.org>:
> > For example, Vim doesn't, by default, indent FLET expressions
> > very well:
> >
> > (flet ((some-long-function-name ()
> > (expr)))
> > ...)
>
> if you add some-long-function-name to lispwords variable, it will
> indent properly.
Yes ...
> But i have no idea how to do this authomatically.
... exactly.
> At best you can map a key to manually add a symbol to lispwords.
*sigh* Never thought of that. :)
We could also do a lot by adding a hook into Vim's processing of #\(
which could look for flet, labels, and so on, and add words to
lispwords automatically. Just a thought.
... But that'd only work for code you actually typed, not code you
loaded. *shrug* We'll see. :) That's a bit in the future anyway.
-- Larry
More information about the slimpl
mailing list