branch: elpa/scad-mode
commit db6a5869ba8f5e95a1f141f1b299912612dbee95
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    Improve font locking of builtins
---
 scad-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scad-mode.el b/scad-mode.el
index 91cd00bdff..5649047826 100644
--- a/scad-mode.el
+++ b/scad-mode.el
@@ -160,8 +160,8 @@ Options are axes, crosshairs, edges, scales, wireframe."
 (defvar scad-font-lock-keywords
   `(("\\(module\\|function\\)[ \t]+\\(\\sw+\\)" (1 'font-lock-keyword-face 
nil) (2 'font-lock-function-name-face nil t))
     ("\\(use\\|include\\)[ \t]*<\\([^>]+\\)>" (1 'font-lock-preprocessor-face 
nil) (2 'font-lock-type-face nil t))
-    ("<\\(\\sw+\\)>" (1 'font-lock-builtin-face nil))
-    ("$\\(\\sw+\\)" (1 'font-lock-builtin-face nil))
+    ("<\\(\\sw+\\)>" (0 'font-lock-builtin-face nil))
+    ("$\\(\\sw+\\)" (0 'font-lock-builtin-face nil))
     (,(regexp-opt scad-keywords 'words)   . font-lock-keyword-face)
     (,(regexp-opt scad-modules 'words)    . font-lock-builtin-face)
     (,(regexp-opt scad-functions 'words)  . font-lock-function-name-face)

Reply via email to