summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaeulbyul <aeiou256@gmail.com>2019-07-18 01:33:57 +0900
committerGaeulbyul <aeiou256@gmail.com>2019-07-18 01:33:57 +0900
commitbd257ceb7d67c30f0ebb62a1838eae433c8fe76e (patch)
treeb6c91b7185859ba7bd5cfe53288566f25fabb33b
parentbe3d0f8b33112430433ee15747c746a5fe135425 (diff)
css.kak: Highlight comment inside declaration
-rw-r--r--rc/filetype/css.kak1
1 files changed, 1 insertions, 0 deletions
diff --git a/rc/filetype/css.kak b/rc/filetype/css.kak
index f8a0d26e..edb1a36b 100644
--- a/rc/filetype/css.kak
+++ b/rc/filetype/css.kak
@@ -41,6 +41,7 @@ add-highlighter shared/css/comment region /[*] [*]/ fill comment
add-highlighter shared/css/declaration/base default-region group
add-highlighter shared/css/declaration/double_string region '"' (?<!\\)(\\\\)*" fill string
add-highlighter shared/css/declaration/single_string region "'" "'" fill string
+add-highlighter shared/css/declaration/comment region /[*] [*]/ fill comment
# https://developer.mozilla.org/en-US/docs/Web/CSS/length
add-highlighter shared/css/declaration/base/ regex (#[0-9A-Fa-f]+)|((\d*\.)?\d+(ch|cm|em|ex|mm|pc|pt|px|rem|vh|vmax|vmin|vw)) 0:value