Request d.vim testing

Idan Arye GenericNPC at gmail.com
Mon May 20 17:12:51 PDT 2013


On Monday, 20 May 2013 at 23:20:08 UTC, Jesse Phillips wrote:
> 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).

I used it for GLSL and it turned out nicely:
https://github.com/someboddy/Dandy/blob/initial-development/dandy/common/shaders.d#L8L31

Many acceptable languages for token strings are c-like anyways, 
so they look good with the D syntax highlighting - even if it 
doesn't highlight all the keywords, or highlight stuff that are 
not keywords, or highlight in wrong color.


More information about the Digitalmars-d mailing list