diff --git a/data/plugins/language_css.lua b/data/plugins/language_css.lua index 021c5d33..9ea3d0d3 100644 --- a/data/plugins/language_css.lua +++ b/data/plugins/language_css.lua @@ -9,7 +9,8 @@ syntax.add { { pattern = { '"', '"', '\\' }, type = "string" }, { pattern = { "'", "'", '\\' }, type = "string" }, { pattern = "[%a][%w-]*%s*%f[:]", type = "keyword" }, - { pattern = "#%x+", type = "string" }, + { pattern = "#%x%x%x%x%x%x%f[%W]",type = "string" }, + { pattern = "#%x%x%x%f[%W]", type = "string" }, { pattern = "-?%d+[%d%.]*p[xt]", type = "number" }, { pattern = "-?%d+[%d%.]*deg", type = "number" }, { pattern = "-?%d+[%d%.]*", type = "number" },