Request d.vim testing

Iain Buclaw ibuclaw at ubuntu.com
Mon May 20 17:04:29 PDT 2013


On May 21, 2013 12:25 AM, "Jesse Phillips" <Jessekphillips+D at gmail.com>
wrote:
>
> On Monday, 20 May 2013 at 23:08:26 UTC, Iain Buclaw wrote:
>>
>> Thanks.
>>
>> I've fixed cgdb syntax highlighting for various literals here.
>>
>> https://github.com/cgdb/cgdb/pull/22
>>
>> Wonder if anyone has any ideas for q"( strings )"
>>
>> Regards
>
>
> In case you don't know (guessing you might not based on the comment):
>
> q{ Token string here }
>
> q"( custom wysiwyg string delimiter )"
>
> The first should probably highlight as normal code (Vim is doing that).
The second is a normal string.
>
> The token string is interesting since it can be used to house non-D
language making D not necessarily the proper highlighting scheme.... hmm I
wonder if I could make vim.d identify the language (probably needs specific
indicator though).

The bit causing trouble is knowing the token that shall end the  string.

Regards
-- 
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130521/6c63e644/attachment.html>


More information about the Digitalmars-d mailing list