diff options
Diffstat (limited to 'lisp/textmodes/css-mode.el')
| -rw-r--r-- | lisp/textmodes/css-mode.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 9e36a881a3e..c81c3f62e16 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; css-mode.el --- Major mode to edit CSS files -*- lexical-binding: t -*- | 1 | ;;; css-mode.el --- Major mode to edit CSS files -*- lexical-binding: t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2006-2016 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2006-2017 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Stefan Monnier <monnier@iro.umontreal.ca> | 5 | ;; Author: Stefan Monnier <monnier@iro.umontreal.ca> |
| 6 | ;; Maintainer: Simen Heggestøyl <simenheg@gmail.com> | 6 | ;; Maintainer: Simen Heggestøyl <simenheg@gmail.com> |
| @@ -27,7 +27,6 @@ | |||
| 27 | 27 | ||
| 28 | ;;; Todo: | 28 | ;;; Todo: |
| 29 | 29 | ||
| 30 | ;; - electric ; and } | ||
| 31 | ;; - filling code with auto-fill-mode | 30 | ;; - filling code with auto-fill-mode |
| 32 | ;; - fix font-lock errors with multi-line selectors | 31 | ;; - fix font-lock errors with multi-line selectors |
| 33 | 32 | ||
| @@ -667,6 +666,8 @@ cannot be completed sensibly: `custom-ident', | |||
| 667 | ;; Variables. | 666 | ;; Variables. |
| 668 | (,(concat "--" css-ident-re) (0 font-lock-variable-name-face)) | 667 | (,(concat "--" css-ident-re) (0 font-lock-variable-name-face)) |
| 669 | ;; Selectors. | 668 | ;; Selectors. |
| 669 | ;; Allow plain ":root" as a selector. | ||
| 670 | ("^[ \t]*\\(:root\\)\\(?:[\n \t]*\\)*{" (1 'css-selector keep)) | ||
| 670 | ;; FIXME: attribute selectors don't work well because they may contain | 671 | ;; FIXME: attribute selectors don't work well because they may contain |
| 671 | ;; strings which have already been highlighted as f-l-string-face and | 672 | ;; strings which have already been highlighted as f-l-string-face and |
| 672 | ;; thus prevent this highlighting from being applied (actually now that | 673 | ;; thus prevent this highlighting from being applied (actually now that |