Permalink
Browse files

add mode: snippet to all

  • Loading branch information...
1 parent 56b38a6 commit 6cca8a9ab22aaf06bea118786210ea262f09f687 @ljos committed Oct 30, 2012
Showing with 21 additions and 0 deletions.
  1. +1 −0 c
  2. +1 −0 condp
  3. +1 −0 defm
  4. +1 −0 defmm
  5. +1 −0 defn
  6. +1 −0 defp
  7. +1 −0 defr
  8. +1 −0 deft
  9. +1 −0 fn
  10. +1 −0 if
  11. +1 −0 import
  12. +1 −0 kwargs
  13. +1 −0 let
  14. +1 −0 letfn
  15. +1 −0 m
  16. +1 −0 ns
  17. +1 −0 perf
  18. +1 −0 pm
  19. +1 −0 refer
  20. +1 −0 require
  21. +1 −0 use
View
1 c
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: comment
# --
(comment
View
1 condp
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: condp
# --
(condp ${1:pred} ${2:expr}
View
1 defm
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defmethod
# --
(defmethod ${1:name} ${2:match}
View
1 defmm
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defmulti
# --
(defmulti ${1:name} ${2:dispatch-fn})
View
1 defn
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defn
# --
(defn ${1:name} ${2:
View
1 defp
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defprotocol
# --
(defprotocol ${1:Name}
View
1 defr
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defrecord
# --
(defrecord ${1:Name} [${2:fields}]
View
1 deft
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: deftype
# --
(deftype ${1:Name} [${2:fields}]
View
1 fn
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: fn
# --
(fn [${1:arg-list}] $0)
View
1 if
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: if
# --
(if ${1:test-expr}
View
1 import
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: import
# --
(:import [${1:package}])
View
1 kwargs
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: keyword args
# --
& {:keys [${1:keys}] :or {${2:defaults}}}
View
1 let
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: let
# --
(let [$0])
View
1 letfn
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: letfn
# --
(letfn [(${1:name) [${2:args}]
View
1 m
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: method
# --
(${1:name} [${2:this} ${3:args}]
View
1 ns
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: ns
# --
(ns `(clojure-expected-ns)`
View
1 perf
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: perf
# --
(dotimes [_ 10]
View
1 pm
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: protocol method
# --
(${1:name} [${2:this} ${3:args}])
View
1 refer
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: refer
# --
(:refer-clojure :exclude [$0])
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: require
# --
(:require [${1:namespace}${2: :as [${3:name}]}])
View
1 use
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: use
# --
(:use [${1:namespace}${2: :only [{3:fns}]}])

0 comments on commit 6cca8a9

Please sign in to comment.