ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=13c7c1fcab5d802f15c6ca54e0dc11c7326defac

commit 13c7c1fcab5d802f15c6ca54e0dc11c7326defac
Author: Andy Williams <a...@andywilliams.me>
Date:   Tue Jan 31 20:09:02 2017 +0000

    syntax: Still ask clang to highlight preprocessor/macros
---
 src/bin/editor/edi_editor.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/editor/edi_editor.c b/src/bin/editor/edi_editor.c
index f218bc8..8737880 100644
--- a/src/bin/editor/edi_editor.c
+++ b/src/bin/editor/edi_editor.c
@@ -716,6 +716,7 @@ _clang_show_highlighting(Edi_Editor *editor)
                    case CXCursor_InclusionDirective:
                    case CXCursor_PreprocessingDirective:
                    case CXCursor_MacroExpansion:
+                      type = ELM_CODE_TOKEN_TYPE_PREPROCESSOR;
                       break;
                    case CXCursor_TypeRef:
                       type = ELM_CODE_TOKEN_TYPE_TYPE;

-- 


Reply via email to