Gary Johnson wrote: > 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. > > I tried it with both my usual set up and with the command shown from the shell command line. Both times I get the "Expected" result. So this may be a tough problem to resolve if its dependent somehow on o/s.
Regards, Chip Campbell -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.