summaryrefslogtreecommitdiffstats
path: root/syntax/html.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/html.vim')
-rw-r--r--syntax/html.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/syntax/html.vim b/syntax/html.vim
index 28e09e0b..4b02bc7f 100644
--- a/syntax/html.vim
+++ b/syntax/html.vim
@@ -79,6 +79,7 @@ syn keyword htmlTagName contained uplimit variance vector vectorproduct xor
" Custom Element
syn match htmlTagName contained "\<[a-z][-.0-9_a-z]*-[-.0-9_a-z]*\>"
+syn match htmlTagName contained "[.0-9_a-z]\@<=-[-.0-9_a-z]*\>"
" HTML 5 arguments
" Core Attributes