Loading ...
Sorry, an error occurred while loading the content.

123736Re: Folding

Expand Messages
  • Eric Weir
    Jun 5, 2011
    • 0 Attachment

      On Jun 5, 2011, at 2:38 AM, Gary Johnson wrote:

      That line,

         :set foldtext=v:folddashes.substitute(getline(v:foldstart),'/\\*\\\|\\*/\\\|{{{\\d\\=','','g')

      does not include the number of lines in the fold, so either it is
      not being executed in your ~/.vimrc or the option is being set
      to some other value somewhere after your ~/.vimrc is read.  Execute

         :verbose foldtext?

      and see what it reports.  It will show you the current value of the
      'foldtext' option and where it was last set.

      The report was that the line I inserted was the only one setting foldtext: 

      foldtext=v:folddashes.substitute(getline(v:foldstart),'/\*\|\*/\|{{{\d\=','','g')
              Last set from ~/.vimrc  

      Is there something other than foldtext that would affect display of the number of lines?

      Thanks,
      ------------------------------------------------------------------------------------------
      Eric Weir
      Decatur, GA  USA
      eeweir@...




      --
      You received this message from the "vim_use" 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
    • Show all 24 messages in this topic