Wednesday, August 24, 2011

Re: #if 0 syntax folding

Christian Brabandt wrote:
> Hi
>
> On Di, 23 Aug 2011, Christ van Willegen wrote:
>
>
>> Hello Christian,
>>
>> On Mon, Aug 22, 2011 at 22:35, Christian Brabandt<cblists@256bit.org> wrote:
>>
>>> I see. Attached patch fixes it.
>>>
>> I was curious and read your patch. The "%:" I saw in the patch made me
>> (even more) curious, and I read
>> http://en.wikipedia.org/wiki/Digraphs_and_trigraphs to see if I
>> guessed right to see if it was a C digraph (I've never used them
>> myself, all the keyboards I've used had # and {} on them ;-) )
>>
>> Just above the table that lists %: as a digraph for #, there's a table
>> of trigraphs mentioning ??= as well, but I didn't see that in the
>> syntax file. I guess this one has (almost completely?) fallen from
>> usage, but wouldn't it be more complete to also specify this trigraph
>> in the regular expression(s)? It's probably a PITA to support them,
>> but for completeness sake...
>>
> Thanks for mentioning it. I didn't even know, that those features are
> supported by the preprocessor. Anyway, here is an updated patch, that
> also supports ??= as trigraph for #.
>
> Bram can then decide, whether he likes to support this for C syntax
> files or not.
>
Hi, Christian!

I suggest emailing a copy of your patch directly to Bram; I have the
impression that he only skims the vim_use list and may otherwise miss it.

Regards,
Chip Campbell

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: