Add some unicode goodness to your Clojure files. defn
becomes ƒ
and fn
becomes λ
.
For example:
(defn square [x]
(* x x))
(def square
(fn [x]
(* x x)))
becomes:
(ƒ square [x]
(* x x))
(def square
(λ [x]
(* x x)))
Drop clojure.vim to ~/.vim/after/syntax
(Linux/Mac OS X/BSD) or
~/vimfiles/after/syntax
folder (Windows). Or install with pathogen or vundle
in the usual way.
BSD, short and sweet.
Original version by Filip Wolanski