On Tuesday, December 20, 2016 at 12:23:59 AM UTC+8, Gary Johnson wrote:
> On 2016-12-19, Zhe Lee wrote:
> > On Friday, December 16, 2016 at 10:42:07 PM UTC+8, Gary Johnson wrote:
> > > On 2016-12-16, Nikolay Aleksandrovich Pavlov wrote:
> > > > 2016-12-16 5:41 GMT+03:00 Zhe Lee
> > > > > I want to
On 2016-12-19, Zhe Lee wrote:
> On Friday, December 16, 2016 at 10:42:07 PM UTC+8, Gary Johnson wrote:
> > On 2016-12-16, Nikolay Aleksandrovich Pavlov wrote:
> > > 2016-12-16 5:41 GMT+03:00 Zhe Lee
> > > > I want to fold or hide the comment in the vimrc file.
> > > > I Google it and find mainly th
On Friday, December 16, 2016 at 12:28:20 PM UTC+8, ZyX wrote:
> 2016-12-16 5:41 GMT+03:00 Zhe Lee :
> > I want to fold or hide the comment in the vimrc file.
> > I Google it and find mainly the 2 solution below but none of them worked.
> >
> >
> > syn match comment "\v(^\s*\".*\n)+" fold
> >
> > se
On Friday, December 16, 2016 at 12:28:20 PM UTC+8, ZyX wrote:
> 2016-12-16 5:41 GMT+03:00 Zhe Lee :
> > I want to fold or hide the comment in the vimrc file.
> > I Google it and find mainly the 2 solution below but none of them worked.
> >
> >
> > syn match comment "\v(^\s*\".*\n)+" fold
> >
> > se
On Friday, December 16, 2016 at 10:42:07 PM UTC+8, Gary Johnson wrote:
> On 2016-12-16, Nikolay Aleksandrovich Pavlov wrote:
> > 2016-12-16 5:41 GMT+03:00 Zhe Lee
> > > I want to fold or hide the comment in the vimrc file.
> > > I Google it and find mainly the 2 solution below but none of them work
2016-12-16 17:43 GMT+03:00 Gary Johnson :
> On 2016-12-16, Nikolay Aleksandrovich Pavlov wrote:
>> 2016-12-16 5:41 GMT+03:00 Zhe Lee
>> > I want to fold or hide the comment in the vimrc file.
>> > I Google it and find mainly the 2 solution below but none of them worked.
>> >
>> >
>> > syn match com
On 2016-12-16, Nikolay Aleksandrovich Pavlov wrote:
> 2016-12-16 5:41 GMT+03:00 Zhe Lee
> > I want to fold or hide the comment in the vimrc file.
> > I Google it and find mainly the 2 solution below but none of them worked.
> >
> >
> > syn match comment "\v(^\s*\".*\n)+" fold
> >
> > set foldmethod
2016-12-16 5:41 GMT+03:00 Zhe Lee :
> I want to fold or hide the comment in the vimrc file.
> I Google it and find mainly the 2 solution below but none of them worked.
>
>
> syn match comment "\v(^\s*\".*\n)+" fold
>
> set foldmethod=expr foldexpr=getline(v:lnum)=~'^\s*"'
>
>
> My Vimrc file is lik
I want to fold or hide the comment in the vimrc file.
I Google it and find mainly the 2 solution below but none of them worked.
syn match comment "\v(^\s*\".*\n)+" fold
set foldmethod=expr foldexpr=getline(v:lnum)=~'^\s*"'
My Vimrc file is like this, when I enter the 2 commands above nothing