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.
Is there something other than foldtext that would affect display of the number of lines?foldtext=v:folddashes.substitute(getline(v:foldstart),'/\*\|\*/\|{{{\d\=','','g')Last set from ~/.vimrc
Thanks,
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
eeweir@bellsouth.net
Eric Weir
Decatur, GA USA
eeweir@bellsouth.net
No comments:
Post a Comment