Skip to content

Commit

Permalink
Merge pull request #131 from avelino/avelino/clojure-support
Browse files Browse the repository at this point in the history
clojure: add support
  • Loading branch information
alstr committed Oct 27, 2022
2 parents d77c4a9 + 735f77d commit 1756e26
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ There are additional inputs if you want to be able to assign issues to projects.
* C#
* CSS
* Crystal
* Clojure
* Dart
* Elixir
* Go
Expand Down
10 changes: 9 additions & 1 deletion syntax.json
Original file line number Diff line number Diff line change
Expand Up @@ -649,5 +649,13 @@
"pattern": "#"
}
]
},
{
"language": "Clojure",
"markers": [
{
"type": "line",
"pattern": ";;"
}
]
}
]
14 changes: 14 additions & 0 deletions tests/test_closed.diff
Original file line number Diff line number Diff line change
Expand Up @@ -285,3 +285,17 @@ index 0000000..525e25d 100644
+++ b/tests/config.json5
@@ -0,0 +0,1 @@
- // TODO: Delete this line from the codebase

diff·--git·a/tests/example.clj·b/tests/example.clj
index·0000000..525e25d·100644
---·a/tests/example.clj
+++·b/tests/example.clj
@@ -1,8 +0,0 @@
-(ns example)
-
-(defn function-test [name]
- ;; TODO: first todo to test parser
- (prn (str "hello" name))
- ;; TODO: todo with description (sub-level)
- ;; Body of the issue should stay here
- (str "hello" name))
15 changes: 15 additions & 0 deletions tests/test_new.diff
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,18 @@ index 0000000..525e25d
+ "butItHasSomePendingActivities"
+ ]
+}

diff·--git·a/tests/example.clj·b/tests/example.clj
new·file·mode·100644
index·0000000..525e25d
---·/dev/null
+++·b/tests/example.clj
@@ -0,0 +1,8 @@
+(ns example)
+
+(defn function-test [name]
+ ;; TODO: first todo to test parser
+ (prn (str "hello" name))
+ ;; TODO: todo with description (sub-level)
+ ;; Body of the issue should stay here
+ (str "hello" name))

0 comments on commit 1756e26

Please sign in to comment.