emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/jade-mode 8f61e0dc6a 040/128: Decimal point can be part of


From: ELPA Syncer
Subject: [nongnu] elpa/jade-mode 8f61e0dc6a 040/128: Decimal point can be part of a constant.
Date: Sat, 29 Jan 2022 08:24:45 -0500 (EST)

branch: elpa/jade-mode
commit 8f61e0dc6a3eb76f64ee603910866521b1775931
Author: Jaakko Pallari <jkpl@lepovirta.org>
Commit: Jaakko Pallari <jkpl@lepovirta.org>

    Decimal point can be part of a constant.
    
    Constants can have values with decimal points: eg. 1.2em or 50.5%
---
 stylus-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stylus-mode.el b/stylus-mode.el
index ca9748b8ab..87ae474003 100644
--- a/stylus-mode.el
+++ b/stylus-mode.el
@@ -47,7 +47,7 @@
      0 font-lock-constant-face)
     (,(concat "[^_$]?\\<\\(" stylus-keywords "\\)\\>[^_]?")
      0 font-lock-keyword-face)
-    
(,"\\([0-9]+:?\\(em\\|ex\\|px\\|mm\\|cm\\|in\\|pt\\|pc\\|deg\\|rad\\|grad\\|ms\\|s\\|Hz\\|kHz\\|rem\\|%\\)\\)"
 0 font-lock-constant-face)
+    
(,"\\([.0-9]+:?\\(em\\|ex\\|px\\|mm\\|cm\\|in\\|pt\\|pc\\|deg\\|rad\\|grad\\|ms\\|s\\|Hz\\|kHz\\|rem\\|%\\)\\)"
 0 font-lock-constant-face)
     (,"#\\w+" 0 font-lock-keyword-face)
     (,"$\\w+" 0 font-lock-variable-name-face)
     ))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]