Skip to content

Commit 718c54f

Browse files
committed
Syntax highlight custom element like <input-wrapper>
1 parent 00d3f66 commit 718c54f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

syntax/html.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ syn keyword htmlTagName contained uplimit variance vector vectorproduct xor
7777

7878
" Custom Element
7979
syn match htmlTagName contained "\<[a-z][-.0-9_a-z]*-[-.0-9_a-z]*\>"
80+
syn match htmlTagName contained "[.0-9_a-z]\@<=-[-.0-9_a-z]*\>"
8081

8182
" HTML 5 arguments
8283
" Core Attributes

0 commit comments

Comments
 (0)