Friday, July 16, 2010

Re: AutoAlign.vim is causing problems with bib files

On 15/07/2010 09:45 a.m., Cesar Romani wrote:
> On 14/07/2010 11:40 a.m., Charles Campbell wrote:
> > Cesar Romani wrote:
> >> I'm using the latest release of vim73a on Win XP, AutoAlign v13
> >> Whenever I save a bib file with :w the screen pauses with a --
More --
> >> prompt.
> >> It happens with whatever file having the extension .bib
> >> If I disable ftplugin/bib/AutoAlign.vim the problem disappears.
> >>
> >> Many thanks in advance,
> >>
> > Hello,
> >
> > Unfortunately I'm not seeing this behavior on a linux box. I used
> >
> > vim -u simple.vimrc chip.bib
> >
> > where <simple.vimrc> is:
> >
> > set nocp
> > filetype plugin indent on
> >
> > I inserted a dummy bib entry and saw that autoalign was active;
:wq just
> > wrote and quit normally.
>
> I found that the following entry in my .vimrc is causing that problem:
> au BufWritePost * filetype detect
>
> If I comment it out it works, but I need that entry in my .vimrc

There is a conflict between this line:

au BufWritePost * filetype detect

in my .vimrc and AutoAlign for editing bib files.
Is there a workaround for it?

Many thanks in advance,

--
Cesar

--
You received this message from the "vim_use" 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

No comments: