Skip to content

Commit 77e9146

Browse files
authoredOct 20, 2023
Add file extensions to go_template lexer (#875)
1 parent b127e35 commit 77e9146

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎lexers/embedded/go_template.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
<config>
33
<name>Go Template</name>
44
<alias>go-template</alias>
5+
<filename>*.gotmpl</filename>
6+
<filename>*.go.tmpl</filename>
57
</config>
68
<rules>
79
<state name="template">
@@ -109,4 +111,4 @@
109111
</rule>
110112
</state>
111113
</rules>
112-
</lexer>
114+
</lexer>

0 commit comments

Comments
 (0)
Please sign in to comment.