Skip to content

Commit

Permalink
Merge pull request #1235 from thsnr/master
Browse files Browse the repository at this point in the history
Allow trimming around comments in gotexttmpl syntax.
  • Loading branch information
fatih authored Mar 28, 2017
2 parents 58853d5 + 1aa048b commit 5d684f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions syntax/gotexttmpl.vim
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ hi def link goTplVariable Special

syn region gotplAction start="{{" end="}}" contains=@gotplLiteral,gotplControl,gotplFunctions,gotplVariable,goTplIdentifier display
syn region gotplAction start="\[\[" end="\]\]" contains=@gotplLiteral,gotplControl,gotplFunctions,gotplVariable display
syn region goTplComment start="{{/\*" end="\*/}}" display
syn region goTplComment start="\[\[/\*" end="\*/\]\]" display
syn region goTplComment start="{{\(- \)\?/\*" end="\*/\( -\)\?}}" display
syn region goTplComment start="\[\[\(- \)\?/\*" end="\*/\( -\)\?\]\]" display

hi def link gotplAction PreProc
hi def link goTplComment Comment
Expand Down

0 comments on commit 5d684f6

Please sign in to comment.