summaryrefslogtreecommitdiffstats
path: root/syntax/helm.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-01-25 16:56:10 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2020-01-25 16:56:10 +0100
commit35ea4d2b9072594b6c0ccf87bde7978ed9f94755 (patch)
treee829bad239fea3150cd0963933f3e33214f069b4 /syntax/helm.vim
parent967486dd716de860db3ef091a9dcb9cb65023534 (diff)
downloadvim-polyglot-4.2.1.tar.gz
vim-polyglot-4.2.1.zip
Updatev4.2.1
Diffstat (limited to 'syntax/helm.vim')
-rw-r--r--syntax/helm.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/helm.vim b/syntax/helm.vim
index 9e8be342..8118a573 100644
--- a/syntax/helm.vim
+++ b/syntax/helm.vim
@@ -81,10 +81,10 @@ hi def link gotplFunctions Function
hi def link goSprigFunctions Function
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 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
hi def link gotplAction PreProc
hi def link goTplComment Comment