add all the missing modes
This commit is contained in:
parent
037b60e0df
commit
a4fa2e3596
|
@ -84,5 +84,25 @@
|
||||||
(hiccup/html
|
(hiccup/html
|
||||||
(structure tables)))))
|
(structure tables)))))
|
||||||
|
|
||||||
|
(def mode-line "# -*- mode: snippet -*-")
|
||||||
|
|
||||||
|
(defn all-snips
|
||||||
|
[d]
|
||||||
|
(filter #(and (.isFile %)
|
||||||
|
(not= (.getName %) ".yas-parents")
|
||||||
|
(not (.endsWith (str %) ".el")))
|
||||||
|
|
||||||
|
(file-seq (io/file d))))
|
||||||
|
|
||||||
|
(defn fix-all-modelines
|
||||||
|
[snips]
|
||||||
|
(doseq [s snips]
|
||||||
|
(let [content (-> s slurp str/split-lines)
|
||||||
|
f-line (first content)]
|
||||||
|
|
||||||
|
(when-not (str/includes? f-line "# -*- mode")
|
||||||
|
(println "Writing to " s)
|
||||||
|
(spit s (str/join "\n" (cons mode-line content)))))))
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
(gen-html "../snippets"))
|
(gen-html "../snippets"))
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: namespace ...
|
# name: namespace ...
|
||||||
# key: ns
|
# key: ns
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: using namespace ...
|
# name: using namespace ...
|
||||||
# key: using
|
# key: using
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: #ifndef XXX; #define XXX; #endif
|
# name: #ifndef XXX; #define XXX; #endif
|
||||||
# key: once
|
# key: once
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: do { ... } while (...)
|
# name: do { ... } while (...)
|
||||||
# key: do
|
# key: do
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: struct ... { ... }
|
# name: struct ... { ... }
|
||||||
# key: struct
|
# key: struct
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: bench
|
# name: bench
|
||||||
# key: bench
|
# key: bench
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: bp
|
# name: bp
|
||||||
# key: bp
|
# key: bp
|
||||||
# --
|
# --
|
||||||
(swank.core/break)
|
(swank.core/break)
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: def
|
# name: def
|
||||||
# key: def
|
# key: def
|
||||||
# --
|
# --
|
||||||
(def $0)
|
(def $0)
|
|
@ -1,7 +1,8 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: defmacro
|
# name: defmacro
|
||||||
# key: defm
|
# key: defm
|
||||||
# --
|
# --
|
||||||
(defmacro $1
|
(defmacro $1
|
||||||
"$2"$>
|
"$2"$>
|
||||||
[$3]$>
|
[$3]$>
|
||||||
$0)$>
|
$0)$>
|
|
@ -1,7 +1,8 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: defn
|
# name: defn
|
||||||
# key: defn
|
# key: defn
|
||||||
# --
|
# --
|
||||||
(defn $1
|
(defn $1
|
||||||
"$2"$>
|
"$2"$>
|
||||||
[$3]$>
|
[$3]$>
|
||||||
$0)$>
|
$0)$>
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: defrecord
|
# name: defrecord
|
||||||
# key: defr
|
# key: defr
|
||||||
# --
|
# --
|
||||||
|
@ -5,4 +6,4 @@
|
||||||
^{"$1"}$>
|
^{"$1"}$>
|
||||||
$2$>
|
$2$>
|
||||||
[$3]$>
|
[$3]$>
|
||||||
$0)$>
|
$0)$>
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: deftype
|
# name: deftype
|
||||||
# key: deft
|
# key: deft
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: doseq
|
# name: doseq
|
||||||
# key: doseq
|
# key: doseq
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: fn
|
# name: fn
|
||||||
# key: fn
|
# key: fn
|
||||||
# --
|
# --
|
||||||
(fn [$1]
|
(fn [$1]
|
||||||
$0)$>
|
$0)$>
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: for
|
# name: for
|
||||||
# key: for
|
# key: for
|
||||||
# --
|
# --
|
||||||
(for [$1 $2]
|
(for [$1 $2]
|
||||||
$3)$>
|
$3)$>
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: if
|
# name: if
|
||||||
# key: if
|
# key: if
|
||||||
|
@ -5,4 +6,4 @@
|
||||||
(if $1
|
(if $1
|
||||||
$2$>
|
$2$>
|
||||||
$3)$>
|
$3)$>
|
||||||
$0
|
$0
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: ifl
|
# name: ifl
|
||||||
# key: ifl
|
# key: ifl
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: import
|
# name: import
|
||||||
# key: import
|
# key: import
|
||||||
# expand-env: ((yas-triggers-in-field nil))
|
# expand-env: ((yas-triggers-in-field nil))
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: is
|
# name: is
|
||||||
# key: is
|
# key: is
|
||||||
# --
|
# --
|
||||||
(is (= $1 $2))
|
(is (= $1 $2))
|
|
@ -1,7 +1,8 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: let
|
# name: let
|
||||||
# key: let
|
# key: let
|
||||||
# --
|
# --
|
||||||
(let [$1 $2]$>
|
(let [$1 $2]$>
|
||||||
$3)$>
|
$3)$>
|
||||||
$0
|
$0
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: map
|
# name: map
|
||||||
# key: map
|
# key: map
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: map lambda
|
# name: map lambda
|
||||||
# key: map
|
# key: map
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: mdoc
|
# name: mdoc
|
||||||
# key: mdoc
|
# key: mdoc
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: ns
|
# name: ns
|
||||||
# key: ns
|
# key: ns
|
||||||
|
@ -19,4 +20,4 @@
|
||||||
(p4 (mapconcat '(lambda (x) x)
|
(p4 (mapconcat '(lambda (x) x)
|
||||||
(split-string p3 "/")
|
(split-string p3 "/")
|
||||||
".")))
|
".")))
|
||||||
(replace-regexp-in-string "_" "-" p4)))`)
|
(replace-regexp-in-string "_" "-" p4)))`)
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# key: opts
|
# key: opts
|
||||||
# name: opts
|
# name: opts
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: pr
|
# name: pr
|
||||||
# key: pr
|
# key: pr
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: print
|
# name: print
|
||||||
# key: print
|
# key: print
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: reduce
|
# name: reduce
|
||||||
# key: reduce
|
# key: reduce
|
||||||
# --
|
# --
|
||||||
(reduce ${1:(fn [p n] $0)} $2)
|
(reduce ${1:(fn [p n] $0)} $2)
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: require
|
# name: require
|
||||||
# key: require
|
# key: require
|
||||||
# expand-env: ((yas-triggers-in-field nil))
|
# expand-env: ((yas-triggers-in-field nil))
|
||||||
# --
|
# --
|
||||||
(:require [$1 :as $2])$>
|
(:require [$1 :as $2])$>
|
|
@ -1,6 +1,7 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: test
|
# name: test
|
||||||
# key: test
|
# key: test
|
||||||
# --
|
# --
|
||||||
(deftest $1
|
(deftest $1
|
||||||
(is (= $2))$>
|
(is (= $2))$>
|
||||||
$0)$>
|
$0)$>
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: try
|
# name: try
|
||||||
# key: try
|
# key: try
|
||||||
# --
|
# --
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: use
|
# name: use
|
||||||
# key: use
|
# key: use
|
||||||
# expand-env: ((yas-triggers-in-field nil))
|
# expand-env: ((yas-triggers-in-field nil))
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: when
|
# name: when
|
||||||
# key: when
|
# key: when
|
||||||
# --
|
# --
|
||||||
(when $1
|
(when $1
|
||||||
$2)$>
|
$2)$>
|
||||||
$0$>
|
$0$>
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# name: whenl
|
# name: whenl
|
||||||
# key: whenl
|
# key: whenl
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: private attribute ....;
|
# name: private attribute ....;
|
||||||
# key: attrib
|
# key: attrib
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: private attribute ....; public property ... ... { ... }
|
# name: private attribute ....; public property ... ... { ... }
|
||||||
# key: attrib
|
# key: attrib
|
||||||
|
@ -19,4 +20,4 @@ public $1 $2
|
||||||
set {
|
set {
|
||||||
this.$2 = value;
|
this.$2 = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: private _attribute ....; public Property ... ... { ... }
|
# name: private _attribute ....; public Property ... ... { ... }
|
||||||
# key: attrib
|
# key: attrib
|
||||||
|
@ -19,4 +20,4 @@ public ${1:Type} ${2:Name}
|
||||||
set {
|
set {
|
||||||
this.${2:$(if (> (length yas-text) 0) (format "_%s%s" (downcase (substring yas-text 0 1)) (substring yas-text 1 (length yas-text))) "")} = value;
|
this.${2:$(if (> (length yas-text) 0) (format "_%s%s" (downcase (substring yas-text 0 1)) (substring yas-text 1 (length yas-text))) "")} = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: class ... { ... }
|
# name: class ... { ... }
|
||||||
# key: class
|
# key: class
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: /// <summary> ... </summary>
|
# name: /// <summary> ... </summary>
|
||||||
# key: comment
|
# key: comment
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: /// <param name="..."> ... </param>
|
# name: /// <param name="..."> ... </param>
|
||||||
# key: comment
|
# key: comment
|
||||||
# --
|
# --
|
||||||
/// <param name="$1">$2</param>
|
/// <param name="$1">$2</param>
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: /// <param name="..."> ... </param>
|
# name: /// <param name="..."> ... </param>
|
||||||
# key: comment
|
# key: comment
|
||||||
# --
|
# --
|
||||||
/// <returns>$1</returns>
|
/// <returns>$1</returns>
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: /// <exception cref="..."> ... </exception>
|
# name: /// <exception cref="..."> ... </exception>
|
||||||
# key: comment
|
# key: comment
|
||||||
# --
|
# --
|
||||||
/// <exception cref="$1">$2</exception>
|
/// <exception cref="$1">$2</exception>
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Jostein Kjønigsen <jostein@kjonigsen.net>
|
# contributor : Jostein Kjønigsen <jostein@kjonigsen.net>
|
||||||
# name: foreach { ... }
|
# name: foreach { ... }
|
||||||
# key: fore
|
# key: fore
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: public void Method { ... }
|
# name: public void Method { ... }
|
||||||
# key: method
|
# key: method
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: namespace .. { ... }
|
# name: namespace .. { ... }
|
||||||
# key: namespace
|
# key: namespace
|
||||||
|
@ -5,4 +6,4 @@
|
||||||
namespace $1
|
namespace $1
|
||||||
{
|
{
|
||||||
$0
|
$0
|
||||||
}
|
}
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: property ... ... { ... }
|
# name: property ... ... { ... }
|
||||||
# key: prop
|
# key: prop
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: #region ... #endregion
|
# name: #region ... #endregion
|
||||||
# key: region
|
# key: region
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: using ...;
|
# name: using ...;
|
||||||
# key: using
|
# key: using
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: using System;
|
# name: using System;
|
||||||
# key: using
|
# key: using
|
||||||
# --
|
# --
|
||||||
using System;
|
using System;
|
|
@ -1,5 +1,6 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
# contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
# name: using System....;
|
# name: using System....;
|
||||||
# key: using
|
# key: using
|
||||||
# --
|
# --
|
||||||
using System.$1;
|
using System.$1;
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: background-color: ...
|
# name: background-color: ...
|
||||||
# --
|
# --
|
||||||
background-color: #${1:DDD};
|
background-color: #${1:DDD};
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: background-image: ...
|
# name: background-image: ...
|
||||||
# --
|
# --
|
||||||
background-image: url($1);
|
background-image: url($1);
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: border size style color
|
# name: border size style color
|
||||||
# --
|
# --
|
||||||
border: ${1:1px} ${2:solid} #${3:999};
|
border: ${1:1px} ${2:solid} #${3:999};
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: clear: ...
|
# name: clear: ...
|
||||||
# --
|
# --
|
||||||
clear: $1;
|
clear: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: display: block
|
# name: display: block
|
||||||
# --
|
# --
|
||||||
display: block;
|
display: block;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: display: inline
|
# name: display: inline
|
||||||
# --
|
# --
|
||||||
display: inline;
|
display: inline;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: display: none
|
# name: display: none
|
||||||
# --
|
# --
|
||||||
display: none;
|
display: none;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: font-family: ...
|
# name: font-family: ...
|
||||||
# --
|
# --
|
||||||
font-family: $1;
|
font-family: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: font-size: ...
|
# name: font-size: ...
|
||||||
# --
|
# --
|
||||||
font-size: ${12px};
|
font-size: ${12px};
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: margin-bottom: ...
|
# name: margin-bottom: ...
|
||||||
# --
|
# --
|
||||||
margin-bottom: $1;
|
margin-bottom: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: margin-left: ...
|
# name: margin-left: ...
|
||||||
# --
|
# --
|
||||||
margin-left: $1;
|
margin-left: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: margin: ...
|
# name: margin: ...
|
||||||
# --
|
# --
|
||||||
margin: $1;
|
margin: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: margin top right bottom left
|
# name: margin top right bottom left
|
||||||
# --
|
# --
|
||||||
margin: ${top} ${right} ${bottom} ${left};
|
margin: ${top} ${right} ${bottom} ${left};
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: margin-right: ...
|
# name: margin-right: ...
|
||||||
# --
|
# --
|
||||||
margin-right: $1;
|
margin-right: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: margin-top: ...
|
# name: margin-top: ...
|
||||||
# --
|
# --
|
||||||
margin-top: $1;
|
margin-top: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: padding-bottom: ...
|
# name: padding-bottom: ...
|
||||||
# --
|
# --
|
||||||
padding-bottom: $1;
|
padding-bottom: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: padding-left: ...
|
# name: padding-left: ...
|
||||||
# --
|
# --
|
||||||
padding-left: $1;
|
padding-left: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: padding: ...
|
# name: padding: ...
|
||||||
# --
|
# --
|
||||||
padding: $1;
|
padding: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: padding: top right bottom left
|
# name: padding: top right bottom left
|
||||||
# --
|
# --
|
||||||
padding: ${top} ${right} ${bottom} ${left};
|
padding: ${top} ${right} ${bottom} ${left};
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: padding-right: ...
|
# name: padding-right: ...
|
||||||
# --
|
# --
|
||||||
padding-right: $1;
|
padding-right: $1;
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor : rejeep <johan.rejeep@gmail.com>
|
# contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
# name: padding-top: ...
|
# name: padding-top: ...
|
||||||
# --
|
# --
|
||||||
padding-top: $1;
|
padding-top: $1;
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
-*- coding: utf-8 -*-
|
-*- coding: utf-8 -*-
|
||||||
Originally started by Xah Lee (xahlee.org) on 2009-02-22
|
Originally started by Xah Lee (xahlee.org) on 2009-02-22
|
||||||
Released under GPL 3.
|
Released under GPL 3.
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: and
|
# name: and
|
||||||
# key: and
|
# key: and
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: aref
|
# name: aref
|
||||||
# key: aref
|
# key: aref
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: aset
|
# name: aset
|
||||||
# key: aset
|
# key: aset
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: assq
|
# name: assq
|
||||||
# key: assq
|
# key: assq
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: autoload
|
# name: autoload
|
||||||
# key: autoload
|
# key: autoload
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: backward-char
|
# name: backward-char
|
||||||
# key: backward-char
|
# key: backward-char
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: beginning-of-line
|
# name: beginning-of-line
|
||||||
# key: beginning-of-line
|
# key: beginning-of-line
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: bounds-of-thing-at-point
|
# name: bounds-of-thing-at-point
|
||||||
# key: bounds-of-thing-at-point
|
# key: bounds-of-thing-at-point
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: buffer-file-name
|
# name: buffer-file-name
|
||||||
# key: buffer-file-name
|
# key: buffer-file-name
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: buffer-modified-p
|
# name: buffer-modified-p
|
||||||
# key: buffer-modified-p
|
# key: buffer-modified-p
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: buffer-substring
|
# name: buffer-substring
|
||||||
# key: buffer-substring
|
# key: buffer-substring
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: buffer-substring-no-properties
|
# name: buffer-substring-no-properties
|
||||||
# key: buffer-substring-no-properties
|
# key: buffer-substring-no-properties
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: cond
|
# name: cond
|
||||||
# key: cond
|
# key: cond
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: condition-case
|
# name: condition-case
|
||||||
# key: condition-case
|
# key: condition-case
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: copy-directory
|
# name: copy-directory
|
||||||
# key: copy-directory
|
# key: copy-directory
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: copy-file
|
# name: copy-file
|
||||||
# key: copy-file
|
# key: copy-file
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: current-buffer
|
# name: current-buffer
|
||||||
# key: current-buffer
|
# key: current-buffer
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: custom-autoload
|
# name: custom-autoload
|
||||||
# key: custom-autoload
|
# key: custom-autoload
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: defalias
|
# name: defalias
|
||||||
# key: defalias
|
# key: defalias
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: defcustom
|
# name: defcustom
|
||||||
# key: defcustom
|
# key: defcustom
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: define-key
|
# name: define-key
|
||||||
# key: define-key
|
# key: define-key
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# name: defvar
|
# name: defvar
|
||||||
# key: defvar
|
# key: defvar
|
||||||
# --
|
# --
|
||||||
(defvar ${1:symbol} ${2:initvalue} "${3:docstring}")
|
(defvar ${1:symbol} ${2:initvalue} "${3:docstring}")
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: delete-char
|
# name: delete-char
|
||||||
# key: delete-char
|
# key: delete-char
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: delete-directory
|
# name: delete-directory
|
||||||
# key: delete-directory
|
# key: delete-directory
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: delete-file
|
# name: delete-file
|
||||||
# key: delete-file
|
# key: delete-file
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: delete-region
|
# name: delete-region
|
||||||
# key: delete-region
|
# key: delete-region
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# -*- mode: snippet -*-
|
||||||
# contributor: Xah Lee (XahLee.org)
|
# contributor: Xah Lee (XahLee.org)
|
||||||
# name: directory-files
|
# name: directory-files
|
||||||
# key: directory-files
|
# key: directory-files
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue