On Thu, May 11, 2017 at 6:52 AM, Bram Moolenaar <[email protected]> wrote:
>
> Yasuhiro Matsumoto wrote:
>
>> include directive allow to use MACRO.
>>
>> #include <ft2build.h>
>> #include FT_FREETYPE_H
>>
>> This is patch to fix this problem.
>>
>> https://patch-diff.githubusercontent.com/raw/vim-jp/vim-cpp/pull/44.diff
>
> Hmm, is this really useful?  We normally highlight valid syntax and
> known errors.  This is something in between, we don't know if it is
> valid.  Perhaps laeavin it unhighlighted is better.
>

Admittedly FreeType is doing something a bit strange, but it's valid
C. Most highlighting engines color the include statement the same way
- if a quoted portion follows that it will be highlighted differently.
E.g. in KDevelop the line in question is entirely green.

This message seems to be in response to
https://github.com/vim-jp/vim-cpp/issues/43, so thank you mattn!

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui