summaryrefslogtreecommitdiffstats
path: root/syntax/gotexttmpl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/gotexttmpl.vim')
-rw-r--r--syntax/gotexttmpl.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/gotexttmpl.vim b/syntax/gotexttmpl.vim
index 14b8bf83..1e733988 100644
--- a/syntax/gotexttmpl.vim
+++ b/syntax/gotexttmpl.vim
@@ -68,7 +68,7 @@ syn cluster gotplLiteral contains=goString,goRawString,goCharacter,@goIn
syn keyword gotplControl contained if else end range with template
syn keyword gotplFunctions contained and html index js len not or print printf println urlquery eq ne lt le gt ge
syn match gotplVariable contained /\$[a-zA-Z0-9_]*\>/
-syn match goTplIdentifier contained /\.[^\s}]*\>/
+syn match goTplIdentifier contained /\.[^\s}]+\>/
hi def link gotplControl Keyword
hi def link gotplFunctions Function