mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 10:24:18 +00:00
restructuring classic snippets dir to conform to new parenting specs
This commit is contained in:
1
snippets/snippet-mode/.yas-parents
Normal file
1
snippets/snippet-mode/.yas-parents
Normal file
@@ -0,0 +1 @@
|
||||
text-mode
|
||||
5
snippets/snippet-mode/field
Normal file
5
snippets/snippet-mode/field
Normal file
@@ -0,0 +1,5 @@
|
||||
# name : ${ ... } field
|
||||
# contributor : joaotavora
|
||||
# key : $f
|
||||
# --
|
||||
\${${1:${2:n}:}$3${4:\$(${5:lisp-fn})}\}$0
|
||||
5
snippets/snippet-mode/mirror
Normal file
5
snippets/snippet-mode/mirror
Normal file
@@ -0,0 +1,5 @@
|
||||
# name : ${n:$(...)} mirror
|
||||
# key : $m
|
||||
# contributor : joaotavora
|
||||
# --
|
||||
\${${2:n}:${4:\$(${5:reflection-fn})}\}$0
|
||||
9
snippets/snippet-mode/vars
Normal file
9
snippets/snippet-mode/vars
Normal file
@@ -0,0 +1,9 @@
|
||||
# name : Snippet header
|
||||
# contributor : joaotavora
|
||||
# --
|
||||
# name : $1${2:
|
||||
# key : ${3:expand-key}}${4:
|
||||
# group : ${5:group}}
|
||||
# contributor : $6
|
||||
# --
|
||||
$0
|
||||
Reference in New Issue
Block a user