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

Update clojure.xml to target EDN (#825)

These changes allow EDN files, together with the commonly used
`application/edn` MIME type, to be highlighted as Clojure syntax.
This commit is contained in:
rome-user 2023-09-08 18:36:58 -07:00 committed by GitHub
parent 6428fb4e65
commit 67983f9b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,9 +3,12 @@
<name>Clojure</name>
<alias>clojure</alias>
<alias>clj</alias>
<alias>edn</alias>
<filename>*.clj</filename>
<filename>*.edn</filename>
<mime_type>text/x-clojure</mime_type>
<mime_type>application/x-clojure</mime_type>
<mime_type>application/edn</mime_type>
</config>
<rules>
<state name="root">
@ -65,4 +68,4 @@
</rule>
</state>
</rules>
</lexer>
</lexer>