summaryrefslogtreecommitdiff
path: root/test/manual
diff options
context:
space:
mode:
authorSimen Heggestøyl <simenheg@gmail.com>2017-06-11 17:41:09 +0200
committerSimen Heggestøyl <simenheg@gmail.com>2017-06-11 19:32:17 +0200
commitee051688c18b3bd7bb7c7a01100f09f7dd402ba6 (patch)
tree57811395709db4c3951a5c59bfbc1cf23c929a30 /test/manual
parent8160c7d914882b40badf9eb8e4792da1b313745e (diff)
downloademacs-ee051688c18b3bd7bb7c7a01100f09f7dd402ba6.tar.gz
Fix highlighting of CSS selectors with double hyphens
* lisp/textmodes/css-mode.el (css--font-lock-keywords): Fix highlighting of selectors that contain double hyphens. They would be mistaken for a variable.
Diffstat (limited to 'test/manual')
-rw-r--r--test/manual/indent/css-mode.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/manual/indent/css-mode.css b/test/manual/indent/css-mode.css
index 79b082188f5..bf612b53a14 100644
--- a/test/manual/indent/css-mode.css
+++ b/test/manual/indent/css-mode.css
@@ -77,3 +77,8 @@ div::before {
url("Sans-Regular.eot") format("eot"),
url("Sans-Regular.woff") format("woff");
}
+
+.foo-bar--baz {
+ --foo-variable: 5px;
+ margin: var(--foo-variable);
+}