1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-03-17 20:58:08 +02:00

Add file extensions to go_template lexer (#875)

This commit is contained in:
silverwind 2023-10-20 19:33:35 +02:00 committed by GitHub
parent b127e3569c
commit 77e9146939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">
@ -109,4 +111,4 @@
</rule>
</state>
</rules>
</lexer>
</lexer>