Skip to content

Commit

Permalink
Merge pull request #110 from ridespirals/patch-1
Browse files Browse the repository at this point in the history
support ES6 template literal strings
  • Loading branch information
acidjazz authored Jan 13, 2019
2 parents 3f341b4 + 655d4a3 commit 2eb75dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions syntax/pug.vim
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ syn region pugHtmlConditionalComment start="<!--\%(.*\)>" end="<!\%(.*\)-->" co
syn region pugAngular2 start="(" end=")" contains=htmlEvent
syn region pugJavascriptString start=+"+ skip=+\\\("\|$\)+ end=+"\|$+ contained
syn region pugJavascriptString start=+'+ skip=+\\\('\|$\)+ end=+'\|$+ contained
syn region pugJavascriptString start=+`+ skip=+\\\(`\|$\)+ end=+`\|$+ contained
syn region pugAttributes matchgroup=pugAttributesDelimiter start="(" end=")" contained contains=pugJavascriptString,pugHtmlArg,pugAngular2,htmlArg,htmlEvent,htmlCssDefinition nextgroup=@pugComponent
syn match pugClassChar "\." containedin=htmlTagName nextgroup=pugClass
syn match pugBlockExpansionChar ":\s\+" contained nextgroup=pugTag,pugClassChar,pugIdChar
Expand Down

0 comments on commit 2eb75dc

Please sign in to comment.