summaryrefslogtreecommitdiffstats
path: root/syntax/html.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/html.vim')
-rw-r--r--syntax/html.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/html.vim b/syntax/html.vim
index 0c03fa22..da9117dc 100644
--- a/syntax/html.vim
+++ b/syntax/html.vim
@@ -68,7 +68,7 @@ syn keyword htmlTagName contained span subset sum tan tanh tendsto times transpo
syn keyword htmlTagName contained uplimit variance vector vectorproduct xor
" Custom Element
-syn match htmlTagName contained "\<[a-z_]\([a-z0-9_.]\+\)\?\(\-[a-z0-9_.]\+\)\+\>"
+syn match htmlTagName contained "\<[a-z][-.0-9_a-z]*-[-.0-9_a-z]*\>"
" HTML 5 arguments
" Core Attributes