summaryrefslogtreecommitdiff
path: root/src/clarktown/parsers
diff options
context:
space:
mode:
authorAsko Nomm <asko@bien.ee>2022-04-06 16:23:14 +0200
committerAsko Nomm <asko@bien.ee>2022-04-06 16:23:14 +0200
commitcf7f5232f9e31981626135eb0977192ea5e67918 (patch)
treeed5f46330b8d3aba398e9b3fa659ec85ae89b24b /src/clarktown/parsers
parent5026f57b750bb5919c49c0fbae073f7bab02bd42 (diff)
Fix indents
Diffstat (limited to 'src/clarktown/parsers')
-rw-r--r--src/clarktown/parsers/list_block.clj12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/clarktown/parsers/list_block.clj b/src/clarktown/parsers/list_block.clj
index 3f32067..40087af 100644
--- a/src/clarktown/parsers/list_block.clj
+++ b/src/clarktown/parsers/list_block.clj
@@ -37,12 +37,12 @@
[items index]
(let [indent-n-at-index (:indent-n (nth items index))]
(-> (->> (split-at index items)
- first
- reverse
- (remove #(or (> (:indent-n %) indent-n-at-index)
- (= (:indent-n %) indent-n-at-index)))
- first
- :id))))
+ first
+ reverse
+ (remove #(or (> (:indent-n %) indent-n-at-index)
+ (= (:indent-n %) indent-n-at-index)))
+ first
+ :id))))
(defn compose-items-with-parents