1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-26 04:52:53 +03:00

Merge remote-tracking branch 'Delapouite/css'

This commit is contained in:
Maxime Coste 2017-09-18 10:02:43 +09:00
commit 9fea868e9e

View File

@ -23,7 +23,9 @@ add-highlighter -group /css/declaration regions content \
add-highlighter -group /css/declaration/content/string fill string add-highlighter -group /css/declaration/content/string fill string
add-highlighter -group /css/declaration regex (#[0-9A-Fa-f]+)|((\d*\.)?\d+(em|px)) 0:value # https://developer.mozilla.org/en-US/docs/Web/CSS/length
add-highlighter -group /css/declaration regex (#[0-9A-Fa-f]+)|((\d*\.)?\d+(ch|cm|em|ex|mm|pc|pt|px|rem|vh|vmax|vmin|vw)) 0:value
add-highlighter -group /css/declaration regex ([A-Za-z][A-Za-z0-9_-]*)\h*: 1:keyword add-highlighter -group /css/declaration regex ([A-Za-z][A-Za-z0-9_-]*)\h*: 1:keyword
add-highlighter -group /css/declaration regex :(before|after) 0:attribute add-highlighter -group /css/declaration regex :(before|after) 0:attribute
add-highlighter -group /css/declaration regex !important 0:keyword add-highlighter -group /css/declaration regex !important 0:keyword