vim/snippets/clojure.snippets @ 824dfcda2807

From screencast.
author Steve Losh <steve@stevelosh.com>
date Fri, 13 Jan 2012 10:23:32 -0500
parents 5a5bcdfd8b54
children (none)
# Fucking imports, how do they work?
snippet nfis
	(:use ${1:foo.core})
snippet nfi
	(:use [${1:foo.core} :only (${2:bar})])
snippet ni
	(:require [${1:foo.core}])
snippet nia
	(:require [${1:foo.core} :as ${2:bar}])
snippet niar
	(:require [${1:foo.core}])
	(:import [$1 ${2:Bar}])