Skip to content

Commit

Permalink
Add file extensions to go_template lexer (#875)
Browse files Browse the repository at this point in the history
  • Loading branch information
silverwind committed Oct 20, 2023
1 parent b127e35 commit 77e9146
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lexers/embedded/go_template.xml
Expand Up @@ -2,6 +2,8 @@
<config>
<name>Go Template</name>
<alias>go-template</alias>
<filename>*.gotmpl</filename>
<filename>*.go.tmpl</filename>
</config>
<rules>
<state name="template">
Expand Down Expand Up @@ -109,4 +111,4 @@
</rule>
</state>
</rules>
</lexer>
</lexer>

0 comments on commit 77e9146

Please sign in to comment.