[Vim-l] Meta tips

Olivier Teuliere ipkiss at gmail.com
Fri Aug 17 11:39:57 UTC 2007


On 8/17/07, hermitte at free.fr <hermitte at free.fr> wrote:
> > > Yes... but unfortunately there is a fair amount of tips where the
> > > original indentation itself is quite bad :)
>
> Can't we just use vim to reindent vim code-snippets ? (supposing we can detect
> them)

I was thinking about using a Wikipedia.vim indent plugin... which would
in fact be a copy of the vim.vim indent file. It would be useful for a
good proportion of the code-snippets: just reindent with = as usual.

For all the other code snippets, we would have to use :setf before
reindenting, or use the GetOriginalIndent() trick.

I will detail this in the Meta tips page during the week-end.

Cheers,
-- 
Olivier


More information about the Vim-l mailing list