Skip to content

Commit

Permalink
syntax: Fix gotexttmpl identifier highlighting
Browse files Browse the repository at this point in the history
Fixes fatih#777
  • Loading branch information
moorereason committed Mar 26, 2016
1 parent fc682ce commit 47f8f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syntax/gotexttmpl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,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
Expand Down

0 comments on commit 47f8f21

Please sign in to comment.