css.kak: Highlight comment inside declaration
This commit is contained in:
parent
be3d0f8b33
commit
bd257ceb7d
|
@ -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/base default-region group
|
||||||
add-highlighter shared/css/declaration/double_string region '"' (?<!\\)(\\\\)*" fill string
|
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/single_string region "'" "'" fill string
|
||||||
|
add-highlighter shared/css/declaration/comment region /[*] [*]/ fill comment
|
||||||
|
|
||||||
# https://developer.mozilla.org/en-US/docs/Web/CSS/length
|
# 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
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user