Re: [PATCH] syntax: Add command to control how foldlevel is computed for a line

2016-11-30 Fir de Conversatie Brad King
On 10/18/2016 08:27 AM, Brad King wrote: > On 10/17/2016 04:45 PM, Bram Moolenaar wrote: >> Thanks. I suppose that's the best way to do it. > > Great. Here is a revised patch. Ping. Thanks, -Brad -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply

Re: [PATCH] syntax: Add command to control how foldlevel is computed for a line

2016-10-18 Fir de Conversatie Brad King
On 10/17/2016 04:45 PM, Bram Moolenaar wrote: > Brad King wrote: >> I've revised the change to add a new syntax command: >> >> :syntax foldlevel [start | minimum] >> >> that can be used to enable this. > > Thanks. I suppose that's the best way to do it. Great. I realized that the "syntax

Re: [PATCH] syntax: Add command to control how foldlevel is computed for a line

2016-10-17 Fir de Conversatie Bram Moolenaar
Brad King wrote: > On 10/14/2016 04:04 PM, Bram Moolenaar wrote: > > Either this needs to be donein the C syntax, or we need an folding > > option to enable this behavior. > > Thanks for taking a look. It can't currently be done purely in syntax > definitions so I've revised the change to add