[slim-vim] Indentation fun (was Re: slim-vim Digest, Vol 1, Issue 4)
Larry Clapp
larry at theclapp.org
Thu Mar 23 08:51:53 CST 2006
On Thu, Mar 23, 2006 at 10:03:38PM +0800, Peter Wright wrote:
> On 23/03 07:52:56, Larry Clapp wrote:
> > On Thu, Mar 23, 2006 at 09:23:07AM +0800, Peter Wright wrote:
> > > ...if you add
> > >
> > > nth,with-http-response,with-http-body,publish
> > >
> > > to the 'lispwords' variable (in Vim7) and re-indent, you'll find
> > > it's a lot closer to the "correct" indentation, though still not
> > > the same:
> >
> > lispwords is in Vim6 too, and probably earlier. I've use Vim since v4
> > (at least), but didn't do any Lisp back then. :)
>
> Oh yeah, I know (re: it being in Vim6 too) - I think I just got the
> impression that this mailing list is thinking in Vim7 now, so we can't
> be Luddites hooked on the primitive Vim6 past!
>
> ...Er, yeah. :)
:) Well, I'm still using Jim's darcs repository as my "primary", so
until he upgrades, I'll probably use v6.
> Interestingly, there is a $VIMRUNTIME/indent/lisp.vim for Vim7, but
> there isn't for Vim6. Mind you, the lisp.vim for Vim7 is pretty
> minimal:
>
> -----------------------------------------------------------------
> " Vim indent file
> " Language: Lisp
> " Maintainer: Sergey Khorev <sergey.khorev at gmail.com>
> " URL: http://iamphet.nm.ru/vim
> " Last Change: 2005 May 19
[snip]
> -----------------------------------------------------------------
>
> ...so I'm not entirely sure why it's needed now and (apparently)
> wasn't before.
Sergey's website was uninformative. He does have a nifty Lisp
filetype plugin, though; see
http://iamphet.nm.ru/vim/ftplugin/lisp.vim.
-- L
More information about the slim-vim
mailing list