Skip to content

Commit

Permalink
lexers/go_template: Add missing global functions (#782)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring committed Apr 3, 2023
1 parent dcc587e commit e09e498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lexers/embedded/go_template.xml
Expand Up @@ -41,7 +41,7 @@
<token type="Operator"/>
<push state="subexpression"/>
</rule>
<rule pattern="(range|if|else|while|with|template|end|true|false|nil|and|call|html|index|js|len|not|or|print|printf|println|urlquery|eq|ne|lt|le|gt|ge)\b">
<rule pattern="(range|if|else|while|with|template|end|true|false|nil|and|call|html|index|js|len|not|or|print|printf|println|urlquery|eq|ne|lt|le|gt|ge|block|break|continue|define|slice)\b">
<token type="Keyword"/>
</rule>
<rule pattern="\||:?=|,">
Expand Down Expand Up @@ -109,4 +109,4 @@
</rule>
</state>
</rules>
</lexer>
</lexer>

0 comments on commit e09e498

Please sign in to comment.