Skip to content

Commit

Permalink
Update clojure.xml to target EDN (#825)
Browse files Browse the repository at this point in the history
These changes allow EDN files, together with the commonly used
`application/edn` MIME type, to be highlighted as Clojure syntax.
  • Loading branch information
rome-user committed Sep 9, 2023
1 parent 6428fb4 commit 67983f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lexers/embedded/clojure.xml
Expand Up @@ -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">
Expand Down Expand Up @@ -65,4 +68,4 @@
</rule>
</state>
</rules>
</lexer>
</lexer>

0 comments on commit 67983f9

Please sign in to comment.