mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-15 09:54:17 +00:00
Last commit before tagging and releasing
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: open
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: Open File
|
||||
# --
|
||||
open(unit=${1:iounit}, file=${2:name}, iostat=${3:ios}, &
|
||||
status="${4:old/new/replace/scratch/unknown}", action="${5:read/write/readwrite}", access="${7:sequential/direct}"${7/(direct)$|.*/(?1:, recl=)/}$0)
|
||||
if ( $3 /= 0 ) stop "Error opening file ${2/[\"\'](.*)[\"\']/$1/}"
|
||||
Reference in New Issue
Block a user