From abc36547659da77c0c576329fc0c1b1d1c40c677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez?= Date: Tue, 19 Apr 2022 18:31:33 -0400 Subject: [PATCH] include : and :: as being highlighted for pseudo classes --- rc/filetype/css.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/css.kak b/rc/filetype/css.kak index 06e45fe4..6e90f4c2 100644 --- a/rc/filetype/css.kak +++ b/rc/filetype/css.kak @@ -86,7 +86,7 @@ evaluate-commands %sh{ add-highlighter shared/css/code/media_types regex \b($(join "${media_types}"))\b 1:+i # (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