On Tue, Nov 13, 2012 at 7:16 PM, Christian Brabandt <
cbl...@256bit.org> wrote:
> Hi shawn!
>
> On Di, 13 Nov 2012, shawn wilson wrote:
>
>> On Tue, Nov 13, 2012 at 9:50 AM, Christian Brabandt <
cbl...@256bit.org> wrote:
>> > On Tue, November 13, 2012 10:33, shawn wilson wrote:
>> >> is there a way to specify how a fold gets labeled? the default (of the
>> >> first line with visible text is generally correct) but sometimes, my
>> >> fold will start at a line with only /* or // or #. and a fold label
>> >> with one of these is next to useless.
>> >>
>> > See
>> > :h 'foldtext'
>> > :h fold-foldtext
>> >
>>
>> per foldtext -
>> Leading white space, "//" or "/*" and the text from the 'foldmarker'
>> and 'commentstring' options is removed.
>>
>> i have:
>> let perl_fold=1 " Perl
>> and try:
>> autocmd FileType perl set commentstring='# %s'
>>
>> but, this doesn't seem to do anything.
>>
>> also, it seems i was wrong about // - that does seem to work correctly in js
>
> I am not sure, what you are trying to do here.
+-- 3 lines: ##################------------------------------------------------------------------------------
thanks. i think i'll have the same display issue i'm currently having.
and that might work. either way, i think i can see how to make it work