branch: elpa/yasnippet-snippets commit 5f06fa8bce2e3cf58747cfd5fbc759e83f1072e9 Author: Andrea Crotti <andrea.crott...@gmail.com> Commit: Andrea Crotti <andrea.crott...@gmail.com>
table --- README.md | 1 + report/src/core.clj | 15 +++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 438da66844..2ea7d58c88 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ This repository contains the official collection of snippets for [yasnippet](http://github.com/capitaomorte/yasnippet). +You can see a genreated table of all snippets [here](https://andreacrotti.pro/yasnippet-snippets/snippets). # How to install diff --git a/report/src/core.clj b/report/src/core.clj index 7f42f342e9..4c9278ab92 100644 --- a/report/src/core.clj +++ b/report/src/core.clj @@ -116,11 +116,10 @@ (comment (def all-modes (all-modes "../snippets")) (doseq [[mode ss] all-modes] - (do - (print "mode =" mode) - (let [grouped - (->> (group-by :name ss) - (filter #(> (count (second %)) 1)))] - (doseq [[g vs] grouped] - (when (pos? (count vs)) - (println g (map :filename vs)))))))) + (print "mode =" mode) + (let [grouped + (->> (group-by :name ss) + (filter #(> (count (second %)) 1)))] + (doseq [[g vs] grouped] + (when (pos? (count vs)) + (println g (map :filename vs)))))))