On Sunday 27 September 2009, jameslan wrote: > I have a class in c++, which inherits from several bases and > overwrites a lot of member functions. > > With fdm set to syntax, functions or smaller code blocks can be nested > folded perfectly. But I am wondering if I could add some marker at > this time manually to have higher level fold, for example, to group > functions. > > There are some plugins using foldexpression to simulate both marker > and syntax but somewhat slow. > > Is there any better solution? > > Thanks, > James > > James,
Not as far as I have been able to determine through experimentation. We have a rather complicated (for me) syntax file for Vim Outliner. The only way I could get marks and syntax folding to work together was to emulate it with foldexpr. Noel -- ------------------------------------------------------------------ Noel Henson www.noels-lab.com Chips, firmware and embedded systems www.vimoutliner.org Work fast. Think well. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
