]> gitweb.factorcode.org Git - factor.git/commitdiff
FUEL: improved fontlocking
authorBjörn Lindqvist <bjourne@gmail.com>
Fri, 11 Mar 2016 06:36:23 +0000 (07:36 +0100)
committerBjörn Lindqvist <bjourne@gmail.com>
Fri, 11 Mar 2016 06:36:23 +0000 (07:36 +0100)
INTERSECTION: and SPECIALIZED-ARRAYS: should be highlighted better and
REQUIRE: and REQUIRES: is old removed syntax

misc/fuel/factor-mode.el

index cd79c8162cda6dd8ff618e72f42768a5952c3f92..db311328a189f3aaf69137ca5623d35a6400849e 100644 (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