]> git.eshelyaron.com Git - emacs.git/commit
css-mode: Don't confuse variable names with class names
authorWilfred Hughes <me@wilfred.me.uk>
Fri, 20 Oct 2017 14:04:37 +0000 (15:04 +0100)
committerWilfred Hughes <me@wilfred.me.uk>
Fri, 20 Oct 2017 14:04:37 +0000 (15:04 +0100)
commit900ede244c886c56579dcbfabd04cf4f144275a1
tree3d9ab756bf6bf722cf193aaab9a06e34be127007
parentf546c7fa751620c22722da24749cf34ead2a3b47
css-mode: Don't confuse variable names with class names

This fixes highlighting for class names that contain --, for example:

.foo--bar {
    display: none;
}

* lisp/textmodes/css-mode.el (css--font-lock-keywords): Make regular
  expression stricter.
lisp/textmodes/css-mode.el