lech Lorens wrote:

> The attached patch changes the default 'foldmethod' for the quickfix
> window to manual. The current behaviour is that the quickfix window
> inherits the values of 'foldmethod' and 'foldmarker' from the global
> options, which sometimes causes the contents of the quickfix window to
> be folded upon opening the window with :copen. Although it can be easily
> fixed in Vim script, I believe the 'foldmethod' should be explicitly set
> for quickfix window by Vim.
> 
> Another way of fixing the problem of folded contents would be resetting
> the value of 'foldenable', but I sometimes find it valuable to be able
> to fold some lines of the quickfix window.

Looks like a good idea.

-- 
GUARD #2:  It could be carried by an African swallow!
GUARD #1:  Oh, yeah, an African swallow maybe, but not a European swallow,
           that's my point.
GUARD #2:  Oh, yeah, I agree with that...
                                  The Quest for the Holy Grail (Monty Python)

 /// Bram Moolenaar -- b...@moolenaar.net -- 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