include : and :: as being highlighted for pseudo classes

This commit is contained in:
Andrés González 2022-04-19 18:31:33 -04:00
parent 4215e8a6eb
commit abc3654765

View File

@ -86,7 +86,7 @@ evaluate-commands %sh{
add-highlighter shared/css/code/media_types regex \b($(join "${media_types}"))\b 1:+i add-highlighter shared/css/code/media_types regex \b($(join "${media_types}"))\b 1:+i
# (after functional notation as they may contain paranthesis) # (after functional notation as they may contain paranthesis)
add-highlighter shared/css/code/pseudo regex (:{1,2})([a-z-]+) 2:attribute add-highlighter shared/css/code/pseudo regex (:{1,2})([a-z-]+) 0:attribute
add-highlighter shared/css/code/at_rules regex @[a-z-]+ 0:function add-highlighter shared/css/code/at_rules regex @[a-z-]+ 0:function