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 b

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

2016-10-18 Fir de Conversatie Brad King
bca Mon Sep 17 00:00:00 2001 Message-Id: <617860554d40293a40ef757b4404073769fe0bca.1476793464.git.brad.k...@kitware.com> From: Brad King Date: Mon, 17 Oct 2016 13:42:53 -0400 Subject: [PATCH] syntax: Add command to control how foldlevel is computed for a line With `foldmethod=syntax` the

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 a

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

2016-10-17 Fir de Conversatie Brad King
Mon, 17 Oct 2016 13:42:53 -0400 Subject: [PATCH] syntax: Add command to control how foldlevel is computed for a line With `foldmethod=syntax` the foldlevel of a line is computed based on syntax items on the line. Previously we always used the level of the syntax item containing the start of the