branch: elpa/sass-mode commit 26a66e331b507fb420e3bb7d0a6a8fbb04294343 Author: Steve Purcell <st...@sanityinc.com> Commit: Steve Purcell <st...@sanityinc.com>
Revert "Don't override the syntax classes for "-" and "_"" This reverts commit d19542f4131b3e6d94655ab6c7403442bf2cc332. --- sass-mode.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sass-mode.el b/sass-mode.el index 25d20f7..c1e89a5 100644 --- a/sass-mode.el +++ b/sass-mode.el @@ -78,7 +78,10 @@ text nested beneath them.") (,(regexp-opt '("and" "or" "not")) 0 font-lock-keyword-face))) (defconst sass-syntax-table - (make-syntax-table)) + (let ((st (make-syntax-table))) + (modify-syntax-entry ?- "w" st) + (modify-syntax-entry ?_ "w" st) + st)) (defconst sass-script-syntax-table (let ((st (make-syntax-table sass-syntax-table)))