vim/snippets/lisp.snippets @ 6bc9af6eebce

Merge.
author Steve Losh <steve@stevelosh.com>
date Fri, 12 Nov 2010 19:08:54 -0500
parents a0a2843a7d29
children 662f1676bfb4
snippet defp
	(defparameter ${1:name} ${2:value})${3}
snippet defv
	(defvar ${1:name} ${2:value})${3}
snippet defun
	(defun ${1:name} (${2:arguments})
	  ${3:body})
snippet let
	(let ((${1:name} ${2:value})${3: others})
	  ${4:body})
snippet flet
	(flet ((${1:name} (${2:arguments})
	         ${3:body})${4: others})
	  ${5:body})
snippet labels
	(labels ((${1:name} (${2:arguments})
	           ${3:body})${4: others})
	  ${5:body})
snippet when
	(when ${1:condition}
	      ${2:body})
snippet unless
	(unless ${1:condition}
	        ${2:body})
snippet cond
	(cond (${1:condition} ${2:body})
		  ${3:others})
snippet case
	(case ${1:item}
		 (${2:option} ${3:body})
		 ${4:others})
snippet mem
	(member ${1:item} ${2:list})