mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 10:24:18 +00:00
Keep snippet vars definitions in a single format across all snippets and documentation.
The format is: # var-name: value Previously snippets used a mixture of the following formatting: #var-name: value #var-name : value # var-name: value # var-name : value
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : automatic
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: automatic
|
||||
# key: au
|
||||
# --
|
||||
automatic $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : block data
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: block data
|
||||
# key: bd
|
||||
# --
|
||||
block data $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : continue
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: continue
|
||||
# key: c
|
||||
# --
|
||||
continue $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : character
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: character
|
||||
# key: ch
|
||||
# --
|
||||
character $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : complex
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: complex
|
||||
# key: cx
|
||||
# --
|
||||
complex $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : double complex
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: double complex
|
||||
# key: dc
|
||||
# --
|
||||
double complex $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : do while (...) end do
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: do while (...) end do
|
||||
# key: do
|
||||
# --
|
||||
do while (${1:condition})
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : double precision
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: double precision
|
||||
# key: dp
|
||||
# --
|
||||
double precision $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : equivalence
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: equivalence
|
||||
# key: eq
|
||||
# --
|
||||
equivalence $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : implicit byte
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: implicit byte
|
||||
# key: ib
|
||||
# --
|
||||
implicit byte $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : implicit complex
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: implicit complex
|
||||
# key: ic
|
||||
# --
|
||||
implicit complex $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : implicit character
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: implicit character
|
||||
# key: ich
|
||||
# --
|
||||
implicit character $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : if then end if
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: if then end if
|
||||
# key: if
|
||||
# --
|
||||
if ( ${1:condition} ) then
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : implicit integer
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: implicit integer
|
||||
# key: ii
|
||||
# --
|
||||
implicit integer $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : implicit logical
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: implicit logical
|
||||
# key: il
|
||||
# --
|
||||
implicit logical $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : implicit none
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: implicit none
|
||||
# key: in
|
||||
# --
|
||||
implicit none
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : include
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: include
|
||||
# key: inc
|
||||
# --
|
||||
include $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : intrinsic
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: intrinsic
|
||||
# key: intr
|
||||
# --
|
||||
intrinsic $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : implicit real
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: implicit real
|
||||
# key: ir
|
||||
# --
|
||||
implicit real $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : logical
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: logical
|
||||
# key: l
|
||||
# --
|
||||
logical $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : parameter
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: parameter
|
||||
# key: pa
|
||||
# --
|
||||
parameter $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : program ... end program ...
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: program ... end program ...
|
||||
# key: pr
|
||||
# --
|
||||
program ${1:name}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : read (*,*)
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: read (*,*)
|
||||
# key: re
|
||||
# --
|
||||
read (${1:*},${2:*}) $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : structure
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: structure
|
||||
# key: st
|
||||
# --
|
||||
structure $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : subroutine
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: subroutine
|
||||
# key: su
|
||||
# --
|
||||
subroutine $0
|
||||
@@ -1,5 +1,5 @@
|
||||
#contributor: Li Zhu <http://www.zhuli.name>
|
||||
#name : write (*,*)
|
||||
# contributor: Li Zhu <http://www.zhuli.name>
|
||||
# name: write (*,*)
|
||||
# key: wr
|
||||
# --
|
||||
write (${1:*},${2:*}) $0
|
||||
Reference in New Issue
Block a user