A.Politz wrote:

> Have 2 files, both with foldmarkers.
> A viminfo file, with a mark of
> file2.
> 
> $ cat .vimrc
> 
> set nocp
> set fdm=marker
> "This is a suggested (simplified) autocmd from vimrc_example
> autocmd BufReadPost * normal g`"
> 
> $ vim -U NONE --noplugin file1
> :vimgrep /foo/j file2
> 
> Now file1 has the folds set as if it were file2.

I see the problem.  I'll make a patch.

-- 
ARTHUR:        I command you as King of the Britons to stand aside!
BLACK KNIGHT:  I move for no man.
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui