On 2016-11-02, Charles E Campbell wrote:
> Coacher wrote:
> > Consider the following file:
> >
> > \begin{env}
> > xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > \end{env}
> >
> > Open it like this: vim -N -u NONE -c 'filetype plugin indent on' -c 'set ft=
> > tex' <filename>
> > Place the cursor at the beginning of the second line.
> > In Normal mode type 'gqgq' to format it.
> >
> > Actual results:
> >
> > \begin{env}
> > xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > xxxxxxxxxxxxxxxxxxxx
> > xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > \end{env}
> >
> > Expected results:
> >
> > \begin{env}
> > xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > xxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > \end{env}
> >
> > vim version is 8.0.0055.
> Using 8.0.055, I get your expected results. So, I suggest that you
> check your plugins.
With my normal setup, I get his expected results, too, but if I
start Vim with the command shown, I get his actual results.
I'd contact the maintainer of $VIMRUNTIME/indent/tex.vim, whose
email address is at the top of the file.
Regards,
Gary
--
--
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].
For more options, visit https://groups.google.com/d/optout.