branch: elpa/sass-mode
commit 658f7452d5625663d0fc4104673461ffdffa6b36
Author: Steve Purcell <st...@sanityinc.com>
Commit: Steve Purcell <st...@sanityinc.com>

    Hyphens are also valid in css attribute names
---
 sass-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sass-mode.el b/sass-mode.el
index d8bdc94..853d414 100644
--- a/sass-mode.el
+++ b/sass-mode.el
@@ -48,7 +48,7 @@
   '("^.*,$" ;; Continued selectors
     "^ *@\\(extend\\|debug\\|warn\\|include\\|import\\)" ;; Single-line mixins
     "^ *[$!]" ;; Variables
-    "^ *[[:alnum:]]+ *:" ;; Plain attribute values
+    "^ *[[:alnum:]\\-]+ *:" ;; Plain attribute values
     )
   "A list of regexps that match lines of Sass that couldn't have
 text nested beneath them.")

Reply via email to