diff --git a/syntax/helm.vim b/syntax/helm.vim index 03c9962..b3c203f 100644 --- a/syntax/helm.vim +++ b/syntax/helm.vim @@ -81,8 +81,7 @@ hi def link goTplVariable Special syn region gotplAction start="{{\(-? \)\?" end="\( -?\)\?}}" contains=@gotplLiteral,gotplControl,gotplFunctions,goSprigFunctions,gotplVariable,goTplIdentifier containedin=yamlFlowString display syn region gotplAction start="\[\[\(-? \)\?" end="\( -?\)\?\]\]" contains=@gotplLiteral,gotplControl,gotplFunctions,goSprigFunctions,gotplVariable containedin=yamlFlowString display -syn region goTplComment start="{{\(-? \)\?/\*" end="\*/\( -?\)\?}}" display -syn region goTplComment start="\[\[\(-? \)\?/\*" end="\*/\( -?\)\?\]\]" display +syn match goTplComment "{{\(-\_s\+\)\?/\*\_.\{-}\*/\(\_s\+-\)\?}}" hi def link gotplAction PreProc hi def link goTplComment Comment