mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-16 02:14:17 +00:00
Last commit before tagging and releasing
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: ido
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Implied do
|
||||
# --
|
||||
(${1:i}, $1 = ${2:1}, ${3:100}, ${4:1})$0
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: case
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: case
|
||||
# --
|
||||
case ${1:default}
|
||||
$0
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: cy
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: cycle
|
||||
# --
|
||||
cycle
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: dow
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: do while
|
||||
# --
|
||||
do while ( ${1:condition} )
|
||||
$0
|
||||
end do
|
||||
8
extras/imported/f90-mode/Control Constructs/do.yasnippet
Normal file
8
extras/imported/f90-mode/Control Constructs/do.yasnippet
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: do
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: do
|
||||
# --
|
||||
do${1: ${2:i} = ${3:1}, ${4:100}, ${5:1}}
|
||||
$0
|
||||
end do
|
||||
@@ -0,0 +1,7 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: elif
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: elseif
|
||||
# --
|
||||
elseif ( ${1:condition} ) then
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: for
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: forall
|
||||
# --
|
||||
forall (${1:i=1:100}${2:, mask})
|
||||
$0
|
||||
end forall
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: if
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: if (single line)
|
||||
# --
|
||||
if ( ${1:condition} )
|
||||
8
extras/imported/f90-mode/Control Constructs/if.yasnippet
Normal file
8
extras/imported/f90-mode/Control Constructs/if.yasnippet
Normal file
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: if
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: if
|
||||
# --
|
||||
if ( ${1:condition} ) then
|
||||
$0
|
||||
end if
|
||||
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: ndo
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: named: do
|
||||
# --
|
||||
${1:name}: do${2: ${3:i} = ${4:1}, ${5:100}, ${6:1}}
|
||||
$0
|
||||
end do $1
|
||||
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: nsel
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: named: select case
|
||||
# --
|
||||
${1:name}: select case ($2:variable)
|
||||
case ($3:values) $1
|
||||
$0
|
||||
end select $1
|
||||
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: sel
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: select case
|
||||
# --
|
||||
select case ($1:variable)
|
||||
case ($2:values)
|
||||
$0
|
||||
end select
|
||||
@@ -0,0 +1,6 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: stop
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: stop
|
||||
# --
|
||||
stop "${1:message}"
|
||||
Reference in New Issue
Block a user