FUEL: improved fontlocking

INTERSECTION: and SPECIALIZED-ARRAYS: should be highlighted better and
REQUIRE: and REQUIRES: is old removed syntax
db4
Björn Lindqvist 2016-03-11 07:36:23 +01:00
parent a0dba498aa
commit 3bf7e49e9f
1 changed files with 6 additions and 4 deletions

View File

@ -225,13 +225,13 @@ these lines in your .emacs:
"GIR:"
"GLSL-SHADER:" "GLSL-PROGRAM:"
"HINTS:"
"initial:" "INTERSECTION:" "IMPLEMENT-STRUCTS:"
"initial:" "IMPLEMENT-STRUCTS:"
"MATH:"
"METHOD:"
"PRIVATE>" "PROTOCOL:" "PROVIDE:"
"read-only" "REQUIRE:" "REQUIRES:"
"read-only"
"SLOT:"
"SPECIALIZED-ARRAYS:" "STRING:" "SYNTAX:"
"STRING:" "SYNTAX:"
"UNIFORM-TUPLE:"
"VARIANT:" "VERTEX-FORMAT:"))
@ -309,7 +309,9 @@ these lines in your .emacs:
(concat (syntax-begin '("SYMBOLS")) ws+ symbols-to-semicolon))
(defconst factor-types-lines-regex
(concat (syntax-begin '("SINGLETONS")) ws+ symbols-to-semicolon))
(concat
(syntax-begin '("INTERSECTION" "SINGLETONS" "SPECIALIZED-ARRAYS"))
ws+ symbols-to-semicolon))
(defconst factor-type-definition-regex
(syntax-and-1-symbol