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:
parent
6428fb4e65
commit
67983f9b27
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user