Add 'users/glittershark/emacs.d/' from commit '69ee53bffa
'
git-subtree-dir: users/glittershark/emacs.d git-subtree-mainline:2edb963b97
git-subtree-split:69ee53bffa
This commit is contained in:
commit
4fe4e3d9a2
74 changed files with 5656 additions and 0 deletions
4
users/glittershark/emacs.d/snippets/js2-mode/action-type
Normal file
4
users/glittershark/emacs.d/snippets/js2-mode/action-type
Normal file
|
@ -0,0 +1,4 @@
|
|||
# key: at
|
||||
# name: action-type
|
||||
# --
|
||||
export const ${1:FOO_BAR$(->> yas-text s-upcase (s-replace-all '(("-" . "_") (" " . "_"))))}: '${3:ns}/${1:$(-> yas-text s-dashed-words)}' = '$3/${1:$(-> yas-text s-dashed-words)}'$5
|
7
users/glittershark/emacs.d/snippets/js2-mode/before
Normal file
7
users/glittershark/emacs.d/snippets/js2-mode/before
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: before
|
||||
# key: bef
|
||||
# --
|
||||
before(function() {
|
||||
$1
|
||||
})
|
7
users/glittershark/emacs.d/snippets/js2-mode/context
Normal file
7
users/glittershark/emacs.d/snippets/js2-mode/context
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: context
|
||||
# key: context
|
||||
# --
|
||||
context('$1', function() {
|
||||
$2
|
||||
})
|
6
users/glittershark/emacs.d/snippets/js2-mode/describe
Normal file
6
users/glittershark/emacs.d/snippets/js2-mode/describe
Normal file
|
@ -0,0 +1,6 @@
|
|||
# key: desc
|
||||
# name: describe
|
||||
# --
|
||||
describe('$1', () => {
|
||||
$2
|
||||
})
|
5
users/glittershark/emacs.d/snippets/js2-mode/expect
Normal file
5
users/glittershark/emacs.d/snippets/js2-mode/expect
Normal file
|
@ -0,0 +1,5 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: expect
|
||||
# key: ex
|
||||
# --
|
||||
expect($1).$2
|
6
users/glittershark/emacs.d/snippets/js2-mode/function
Normal file
6
users/glittershark/emacs.d/snippets/js2-mode/function
Normal file
|
@ -0,0 +1,6 @@
|
|||
# key: f
|
||||
# name: function
|
||||
# --
|
||||
function $1($2) {
|
||||
$3
|
||||
}
|
6
users/glittershark/emacs.d/snippets/js2-mode/header
Normal file
6
users/glittershark/emacs.d/snippets/js2-mode/header
Normal file
|
@ -0,0 +1,6 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: header
|
||||
# key: hh
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
////////////////////////////////////////////////////////////////////////////////
|
7
users/glittershark/emacs.d/snippets/js2-mode/it
Normal file
7
users/glittershark/emacs.d/snippets/js2-mode/it
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: it
|
||||
# key: it
|
||||
# --
|
||||
it('$1', () => {
|
||||
$2
|
||||
})
|
5
users/glittershark/emacs.d/snippets/js2-mode/it-pending
Normal file
5
users/glittershark/emacs.d/snippets/js2-mode/it-pending
Normal file
|
@ -0,0 +1,5 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: it-pending
|
||||
# key: xi
|
||||
# --
|
||||
it('$1')$0
|
12
users/glittershark/emacs.d/snippets/js2-mode/module
Normal file
12
users/glittershark/emacs.d/snippets/js2-mode/module
Normal file
|
@ -0,0 +1,12 @@
|
|||
# key: module
|
||||
# name: module
|
||||
# expand-env: ((yas-indent-line (quote fixed)))
|
||||
# condition: (= (length "module") (current-column))
|
||||
# --
|
||||
/**
|
||||
* @fileOverview $1
|
||||
* @name ${2:`(file-name-nondirectory (buffer-file-name))`}
|
||||
* @author Griffin Smith
|
||||
* @license Proprietary
|
||||
*/
|
||||
$3
|
7
users/glittershark/emacs.d/snippets/js2-mode/record
Normal file
7
users/glittershark/emacs.d/snippets/js2-mode/record
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: record
|
||||
# key: rec
|
||||
# --
|
||||
export default class $1 extends Record({
|
||||
$2
|
||||
}) {}
|
7
users/glittershark/emacs.d/snippets/js2-mode/test
Normal file
7
users/glittershark/emacs.d/snippets/js2-mode/test
Normal file
|
@ -0,0 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: test
|
||||
# key: test
|
||||
# --
|
||||
test('$1', () => {
|
||||
$2
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue