From: Simen Heggestøyl Date: Mon, 29 Feb 2016 06:06:26 +0000 (+1100) Subject: Declare $ as an expression prefix in SCSS X-Git-Tag: emacs-26.0.90~2431 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fb0959e7137a4725148a0c48a002519492f864bb;p=emacs.git Declare $ as an expression prefix in SCSS * lisp/textmodes/css-mode.el (scss-mode-syntax-table): Declare $ as an expression prefix (bug#22841). --- diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 40643743b95..93a8dceec18 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el @@ -547,6 +547,8 @@ pseudo-classes, and at-rules." (let ((st (make-syntax-table css-mode-syntax-table))) (modify-syntax-entry ?/ ". 124" st) (modify-syntax-entry ?\n ">" st) + ;; Variable names are prefixed by $. + (modify-syntax-entry ?$ "'" st) st)) (defvar scss-font-lock-keywords