Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add mode: snippet to all

  • Loading branch information...
commit 6cca8a9ab22aaf06bea118786210ea262f09f687 1 parent 56b38a6
Bjarte Johansen authored
1  c
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: comment
# --
(comment
1  condp
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: condp
# --
(condp ${1:pred} ${2:expr}
1  defm
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defmethod
# --
(defmethod ${1:name} ${2:match}
1  defmm
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defmulti
# --
(defmulti ${1:name} ${2:dispatch-fn})
1  defn
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defn
# --
(defn ${1:name} ${2:
1  defp
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defprotocol
# --
(defprotocol ${1:Name}
1  defr
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: defrecord
# --
(defrecord ${1:Name} [${2:fields}]
1  deft
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: deftype
# --
(deftype ${1:Name} [${2:fields}]
1  fn
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: fn
# --
(fn [${1:arg-list}] $0)
1  if
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: if
# --
(if ${1:test-expr}
1  import
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: import
# --
(:import [${1:package}])
1  kwargs
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: keyword args
# --
& {:keys [${1:keys}] :or {${2:defaults}}}
1  let
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: let
# --
(let [$0])
1  letfn
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: letfn
# --
(letfn [(${1:name) [${2:args}]
1  m
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: method
# --
(${1:name} [${2:this} ${3:args}]
1  ns
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: ns
# --
(ns `(clojure-expected-ns)`
1  perf
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: perf
# --
(dotimes [_ 10]
1  pm
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: protocol method
# --
(${1:name} [${2:this} ${3:args}])
1  refer
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: refer
# --
(:refer-clojure :exclude [$0])
1  require
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: require
# --
(:require [${1:namespace}${2: :as [${3:name}]}])
1  use
View
@@ -1,3 +1,4 @@
+# -*- mode: snippet -*-
#name: use
# --
(:use [${1:namespace}${2: :only [{3:fns}]}])
Please sign in to comment.
Something went wrong with that request. Please try again.