Skip to content

Commit

Permalink
Update clojure.xml to target EDN
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 Aug 21, 2023
1 parent 2226663 commit d51660d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lexers/embedded/clojure.xml
Original file line number Diff line number Diff line change
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 d51660d

Please sign in to comment.