Skip to content

Commit

Permalink
Add support for edn (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmee authored and Aaronepower committed Jul 16, 2018
1 parent e0ef907 commit 82df93f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
8 changes: 8 additions & 0 deletions languages.json
Expand Up @@ -450,6 +450,14 @@
["\\\"", "\\\""],
["'", "'"]
]
},
"Edn":{
"line_comment":[
";"
],
"extensions":[
"edn"
]
},
"Elisp":{
"name":"Emacs Lisp",
Expand Down
11 changes: 11 additions & 0 deletions tests/data/edn.edn
@@ -0,0 +1,11 @@
; 11 lines 6 code 2 comments 3 blanks

; Just some random data

{:a [
1]

:b 1 ; this doesn't count as a comment
:c {1 1
2 2}
:d [1 2 3]}

0 comments on commit 82df93f

Please sign in to comment.