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 4e7c7c8e..95aeb39e 100644
--- a/syntax/html.vim
+++ b/syntax/html.vim
@@ -43,7 +43,7 @@ syn keyword htmlTagName contained missing-glyph mpath
syn keyword htmlTagName contained text textPath tref tspan vkern
" Custom Element
-syn match htmlTagName contained "\<[a-z_]\+\(\-[a-z_]\+\)\+\>"
+syn match htmlTagName contained "\<[a-z_]\([a-z0-9_.]\+\)\?\(\-[a-z0-9_.]\+\)\+\>"
" HTML 5 arguments
" Core Attributes