From cb1ebfbc5b8b701e606ecf8691b07cabc2e15158 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Sun, 9 Dec 2012 12:31:56 -0500 Subject: [PATCH] Drop unnecessary use of anonymous function --- plugin/foreplay.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/foreplay.vim b/plugin/foreplay.vim index a7ab4d2..afcf0dc 100644 --- a/plugin/foreplay.vim +++ b/plugin/foreplay.vim @@ -365,7 +365,7 @@ function! foreplay#evalparse(expr) abort \ '(symbol ((fn *vimify [x]' . \ ' (cond' . \ ' (map? x) (str "{" (apply str (interpose ", " (map (fn [[k v]] (str (*vimify k) ": " (*vimify v))) x))) "}")' . - \ ' (coll? x) (str "[" (apply str (interpose ", " (map #(*vimify %) x))) "]")' . + \ ' (coll? x) (str "[" (apply str (interpose ", " (map *vimify x))) "]")' . \ ' (number? x) (pr-str x)' . \ ' (keyword? x) (pr-str (name x))' . \ ' :else (pr-str (str x)))) '.a:expr.'))',