mirror of
https://github.com/ditkrg/todo-to-issue-action.git
synced 2026-01-22 22:06:43 +00:00
Merge pull request #131 from avelino/avelino/clojure-support
clojure: add support
This commit is contained in:
commit
1756e26b49
@ -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
|
||||
|
||||
10
syntax.json
10
syntax.json
@ -649,5 +649,13 @@
|
||||
"pattern": "#"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"language": "Clojure",
|
||||
"markers": [
|
||||
{
|
||||
"type": "line",
|
||||
"pattern": ";;"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@ -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))
|
||||
|
||||
@ -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))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user