mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-15 05:53:04 +00:00
Removed final newline from snippet files.
This commit is contained in:
parent
6c84d6c428
commit
d3086586be
@ -1,3 +1,3 @@
|
|||||||
#name : FILE *fp = fopen(..., ...);
|
#name : FILE *fp = fopen(..., ...);
|
||||||
# --
|
# --
|
||||||
FILE *${fp} = fopen(${"file"}, "${r}");
|
FILE *${fp} = fopen(${"file"}, "${r}");
|
@ -1,3 +1,3 @@
|
|||||||
#name : #include "..."
|
#name : #include "..."
|
||||||
# --
|
# --
|
||||||
#include "$1"
|
#include "$1"
|
@ -1,3 +1,3 @@
|
|||||||
#name : #include <...>
|
#name : #include <...>
|
||||||
# --
|
# --
|
||||||
#include <$1>
|
#include <$1>
|
@ -4,4 +4,4 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
$0
|
$0
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
@ -4,4 +4,4 @@
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// $3
|
/// $3
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private $1 $2;
|
private $1 $2;
|
@ -18,4 +18,4 @@ public $1 $2
|
|||||||
set {
|
set {
|
||||||
this.$2 = value;
|
this.$2 = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -18,4 +18,4 @@ public ${1:Type} ${2:Name}
|
|||||||
set {
|
set {
|
||||||
this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")} = value;
|
this.${2:$(if (> (length text) 0) (format "_%s%s" (downcase (substring text 0 1)) (substring text 1 (length text))) "")} = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -18,4 +18,4 @@ ${5:public} class ${1:Name}
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
@ -3,4 +3,4 @@
|
|||||||
# --
|
# --
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// $1
|
/// $1
|
||||||
/// </summary>
|
/// </summary>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
#name : /// <param name="..."> ... </param>
|
#name : /// <param name="..."> ... </param>
|
||||||
# --
|
# --
|
||||||
/// <param name="$1">$2</param>
|
/// <param name="$1">$2</param>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
#name : /// <param name="..."> ... </param>
|
#name : /// <param name="..."> ... </param>
|
||||||
# --
|
# --
|
||||||
/// <returns>$1</returns>
|
/// <returns>$1</returns>
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
#name : /// <exception cref="..."> ... </exception>
|
#name : /// <exception cref="..."> ... </exception>
|
||||||
# --
|
# --
|
||||||
/// <exception cref="$1">$2</exception>
|
/// <exception cref="$1">$2</exception>
|
@ -7,4 +7,4 @@
|
|||||||
${1:public} ${2:void} ${3:MethodName}($4)
|
${1:public} ${2:void} ${3:MethodName}($4)
|
||||||
{
|
{
|
||||||
$0
|
$0
|
||||||
}
|
}
|
@ -4,4 +4,4 @@
|
|||||||
namespace $1
|
namespace $1
|
||||||
{
|
{
|
||||||
$0
|
$0
|
||||||
}
|
}
|
@ -13,4 +13,4 @@ $1 $2 $3
|
|||||||
set {
|
set {
|
||||||
this.$4 = value;
|
this.$4 = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -3,4 +3,4 @@
|
|||||||
# --
|
# --
|
||||||
#region $1
|
#region $1
|
||||||
$0
|
$0
|
||||||
#endregion
|
#endregion
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
#name : using ...;
|
#name : using ...;
|
||||||
# --
|
# --
|
||||||
using $1;
|
using $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
#name : using System;
|
#name : using System;
|
||||||
# --
|
# --
|
||||||
using System;
|
using System;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx>
|
||||||
#name : using System....;
|
#name : using System....;
|
||||||
# --
|
# --
|
||||||
using System.$1;
|
using System.$1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : clear: ...
|
#name : clear: ...
|
||||||
# --
|
# --
|
||||||
clear: $1;
|
clear: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : display: block
|
#name : display: block
|
||||||
# --
|
# --
|
||||||
display: block;
|
display: block;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : display: inline
|
#name : display: inline
|
||||||
# --
|
# --
|
||||||
display: inline;
|
display: inline;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : display: none
|
#name : display: none
|
||||||
# --
|
# --
|
||||||
display: none;
|
display: none;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : font-family: ...
|
#name : font-family: ...
|
||||||
# --
|
# --
|
||||||
font-family: $1;
|
font-family: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : font-size: ...
|
#name : font-size: ...
|
||||||
# --
|
# --
|
||||||
font-size: ${12px};
|
font-size: ${12px};
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : margin-bottom: ...
|
#name : margin-bottom: ...
|
||||||
# --
|
# --
|
||||||
margin-bottom: $1;
|
margin-bottom: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : margin-left: ...
|
#name : margin-left: ...
|
||||||
# --
|
# --
|
||||||
margin-left: $1;
|
margin-left: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : margin: ...
|
#name : margin: ...
|
||||||
# --
|
# --
|
||||||
margin: $1;
|
margin: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : margin top right bottom left
|
#name : margin top right bottom left
|
||||||
# --
|
# --
|
||||||
margin: ${top} ${right} ${bottom} ${left};
|
margin: ${top} ${right} ${bottom} ${left};
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : margin-right: ...
|
#name : margin-right: ...
|
||||||
# --
|
# --
|
||||||
margin-right: $1;
|
margin-right: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : margin-top: ...
|
#name : margin-top: ...
|
||||||
# --
|
# --
|
||||||
margin-top: $1;
|
margin-top: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : padding-bottom: ...
|
#name : padding-bottom: ...
|
||||||
# --
|
# --
|
||||||
padding-bottom: $1;
|
padding-bottom: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : padding-left: ...
|
#name : padding-left: ...
|
||||||
# --
|
# --
|
||||||
padding-left: $1;
|
padding-left: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : padding: ...
|
#name : padding: ...
|
||||||
# --
|
# --
|
||||||
padding: $1;
|
padding: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : padding: top right bottom left
|
#name : padding: top right bottom left
|
||||||
# --
|
# --
|
||||||
padding: ${top} ${right} ${bottom} ${left};
|
padding: ${top} ${right} ${bottom} ${left};
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : padding-right: ...
|
#name : padding-right: ...
|
||||||
# --
|
# --
|
||||||
padding-right: $1;
|
padding-right: $1;
|
@ -1,4 +1,4 @@
|
|||||||
#contributor : rejeep <johan.rejeep@gmail.com>
|
#contributor : rejeep <johan.rejeep@gmail.com>
|
||||||
#name : padding-top: ...
|
#name : padding-top: ...
|
||||||
# --
|
# --
|
||||||
padding-top: $1;
|
padding-top: $1;
|
@ -2,5 +2,4 @@
|
|||||||
#name: autoload
|
#name: autoload
|
||||||
#key: autoload
|
#key: autoload
|
||||||
# --
|
# --
|
||||||
(autoload 'FUNCNAME$0 "FILENAME" &optional "DOCSTRING" INTERACTIVE TYPE)
|
(autoload 'FUNCNAME$0 "FILENAME" &optional "DOCSTRING" INTERACTIVE TYPE)
|
||||||
|
|
@ -3,5 +3,4 @@
|
|||||||
#key: bounds-of-thing-at-point
|
#key: bounds-of-thing-at-point
|
||||||
#key: botap
|
#key: botap
|
||||||
# --
|
# --
|
||||||
(bounds-of-thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
|
(bounds-of-thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
|
||||||
|
|
@ -3,4 +3,4 @@
|
|||||||
#key: buffer-substring-no-properties
|
#key: buffer-substring-no-properties
|
||||||
#key: bsnp
|
#key: bsnp
|
||||||
# --
|
# --
|
||||||
(buffer-substring-no-properties START$0 END)
|
(buffer-substring-no-properties START$0 END)
|
@ -3,4 +3,4 @@
|
|||||||
#key: buffer-substring
|
#key: buffer-substring
|
||||||
#key: bs
|
#key: bs
|
||||||
# --
|
# --
|
||||||
(buffer-substring START$0 END)
|
(buffer-substring START$0 END)
|
@ -2,4 +2,4 @@
|
|||||||
#name: format
|
#name: format
|
||||||
#key: format
|
#key: format
|
||||||
# --
|
# --
|
||||||
(format "$0" &optional OBJECTS)
|
(format "$0" &optional OBJECTS)
|
@ -2,4 +2,4 @@
|
|||||||
#name: format
|
#name: format
|
||||||
#key: format
|
#key: format
|
||||||
# --
|
# --
|
||||||
(format "$0" &optional OBJECTS)
|
(format "$0" &optional OBJECTS)
|
@ -3,4 +3,4 @@
|
|||||||
#key: replace-regexp-in-string
|
#key: replace-regexp-in-string
|
||||||
#key: rris
|
#key: rris
|
||||||
# --
|
# --
|
||||||
(replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START)
|
(replace-regexp-in-string REGEXP$0 REP STRING &optional FIXEDCASE LITERAL SUBEXP START)
|
@ -2,4 +2,4 @@
|
|||||||
#name: substring
|
#name: substring
|
||||||
#key: substring
|
#key: substring
|
||||||
# --
|
# --
|
||||||
(substring STRING$0 FROM &optional TO)
|
(substring STRING$0 FROM &optional TO)
|
@ -3,5 +3,4 @@
|
|||||||
#key: thing-at-point
|
#key: thing-at-point
|
||||||
#key: tap
|
#key: tap
|
||||||
# --
|
# --
|
||||||
(thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
|
(thing-at-point '$0) ; symbol, list, sexp, defun, filename, url, email, word, sentence, whitespace, line, page ...
|
||||||
|
|
@ -13,4 +13,4 @@
|
|||||||
(mapc 'myProcessFile (dired-get-marked-files))
|
(mapc 'myProcessFile (dired-get-marked-files))
|
||||||
)
|
)
|
||||||
|
|
||||||
;; to use it, type M-x dired-myProcessFile
|
;; to use it, type M-x dired-myProcessFile
|
@ -14,4 +14,4 @@
|
|||||||
;; ... do something here
|
;; ... do something here
|
||||||
;; (write-file fpath) ;; write back to the file
|
;; (write-file fpath) ;; write back to the file
|
||||||
|
|
||||||
(kill-buffer " myTemp")))
|
(kill-buffer " myTemp")))
|
@ -14,4 +14,4 @@ This works on the current region."
|
|||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(while (search-forward ">" nil t) (replace-match ">" nil t))
|
(while (search-forward ">" nil t) (replace-match ">" nil t))
|
||||||
)
|
)
|
||||||
)
|
)
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Xah Lee (XahLee.org)
|
#contributor: Xah Lee (XahLee.org)
|
||||||
#name: grab buffer substring
|
#name: grab buffer substring
|
||||||
# --
|
# --
|
||||||
(setq $0 (buffer-substring-no-properties myStartPos myEndPos))
|
(setq $0 (buffer-substring-no-properties myStartPos myEndPos))
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Xah Lee (XahLee.org)
|
#contributor: Xah Lee (XahLee.org)
|
||||||
#name: grab word under cursor
|
#name: grab word under cursor
|
||||||
# --
|
# --
|
||||||
(setq $0 (thing-at-point 'symbol))
|
(setq $0 (thing-at-point 'symbol))
|
@ -3,4 +3,4 @@
|
|||||||
# --
|
# --
|
||||||
;; apply a function to all files in a dir
|
;; apply a function to all files in a dir
|
||||||
(require 'find-lisp)
|
(require 'find-lisp)
|
||||||
(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$"))
|
(mapc 'my-process-file (find-lisp-find-files "~/myweb/" "\\.html$"))
|
@ -24,4 +24,4 @@
|
|||||||
(insert "newText") ; insert your new text
|
(insert "newText") ; insert your new text
|
||||||
|
|
||||||
)
|
)
|
||||||
)
|
)
|
@ -1,4 +1,4 @@
|
|||||||
#name : after ... ->
|
#name : after ... ->
|
||||||
# --
|
# --
|
||||||
after
|
after
|
||||||
$1 -> $0
|
$1 -> $0
|
@ -2,4 +2,4 @@
|
|||||||
# --
|
# --
|
||||||
begin
|
begin
|
||||||
$0
|
$0
|
||||||
end
|
end
|
@ -1,4 +1,4 @@
|
|||||||
#name : -behaviour(...).
|
#name : -behaviour(...).
|
||||||
# --
|
# --
|
||||||
-behaviour(${1:gen_server}).
|
-behaviour(${1:gen_server}).
|
||||||
$0
|
$0
|
@ -2,4 +2,4 @@
|
|||||||
# --
|
# --
|
||||||
case $1 of
|
case $1 of
|
||||||
$0
|
$0
|
||||||
end
|
end
|
@ -1,4 +1,4 @@
|
|||||||
#name : -compile(...).
|
#name : -compile(...).
|
||||||
# --
|
# --
|
||||||
-compile([${1:export_all}]).
|
-compile([${1:export_all}]).
|
||||||
$0
|
$0
|
@ -1,4 +1,4 @@
|
|||||||
#name : -define(...,...).
|
#name : -define(...,...).
|
||||||
# --
|
# --
|
||||||
-define($1,$2).
|
-define($1,$2).
|
||||||
$0
|
$0
|
@ -2,4 +2,4 @@
|
|||||||
#contributor : hitesh <hitesh.jasani@gmail.com>
|
#contributor : hitesh <hitesh.jasani@gmail.com>
|
||||||
# --
|
# --
|
||||||
-export([${1:start/0}]).
|
-export([${1:start/0}]).
|
||||||
$0
|
$0
|
@ -1,3 +1,3 @@
|
|||||||
#name : fun (...) -> ... end
|
#name : fun (...) -> ... end
|
||||||
# --
|
# --
|
||||||
fun ($1) -> $0 end
|
fun ($1) -> $0 end
|
@ -3,4 +3,4 @@
|
|||||||
if
|
if
|
||||||
$1 -> $2;
|
$1 -> $2;
|
||||||
true -> $0
|
true -> $0
|
||||||
end
|
end
|
@ -2,4 +2,4 @@
|
|||||||
# --
|
# --
|
||||||
-ifdef($1).
|
-ifdef($1).
|
||||||
$0
|
$0
|
||||||
-endif.
|
-endif.
|
@ -2,4 +2,4 @@
|
|||||||
# --
|
# --
|
||||||
-ifndef($1).
|
-ifndef($1).
|
||||||
$0
|
$0
|
||||||
-endif.
|
-endif.
|
@ -2,4 +2,4 @@
|
|||||||
#contributor : hitesh <hitesh.jasani@gmail.com>
|
#contributor : hitesh <hitesh.jasani@gmail.com>
|
||||||
# --
|
# --
|
||||||
-import(${1:lists}, [${2:map/2, sum/1}]).
|
-import(${1:lists}, [${2:map/2, sum/1}]).
|
||||||
$0
|
$0
|
@ -1,4 +1,4 @@
|
|||||||
#name : -include("...").
|
#name : -include("...").
|
||||||
# --
|
# --
|
||||||
-include("$1").
|
-include("$1").
|
||||||
$0
|
$0
|
@ -1,4 +1,4 @@
|
|||||||
#name : -include_lib("...").
|
#name : -include_lib("...").
|
||||||
# --
|
# --
|
||||||
-include_lib("$1").
|
-include_lib("$1").
|
||||||
$0
|
$0
|
@ -5,4 +5,4 @@ ${1:loop}($2) ->
|
|||||||
${3:_} ->
|
${3:_} ->
|
||||||
$1($2)
|
$1($2)
|
||||||
end.
|
end.
|
||||||
$0
|
$0
|
@ -3,4 +3,4 @@
|
|||||||
# --
|
# --
|
||||||
-module(${1:`(file-name-nondirectory
|
-module(${1:`(file-name-nondirectory
|
||||||
(file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}).
|
(file-name-sans-extension (or (buffer-file-name) (buffer-name))))`}).
|
||||||
$0
|
$0
|
@ -2,4 +2,4 @@
|
|||||||
# --
|
# --
|
||||||
receive
|
receive
|
||||||
$1 -> $0
|
$1 -> $0
|
||||||
end
|
end
|
@ -3,4 +3,4 @@
|
|||||||
receive
|
receive
|
||||||
after
|
after
|
||||||
$1 -> $0
|
$1 -> $0
|
||||||
end
|
end
|
@ -1,4 +1,4 @@
|
|||||||
#name : -record(...,{...}).
|
#name : -record(...,{...}).
|
||||||
# --
|
# --
|
||||||
-record($1,{$2}).
|
-record($1,{$2}).
|
||||||
$0
|
$0
|
@ -4,4 +4,4 @@ try $1 of
|
|||||||
$0
|
$0
|
||||||
catch
|
catch
|
||||||
after
|
after
|
||||||
end
|
end
|
@ -1,4 +1,4 @@
|
|||||||
#name : -undef(...).
|
#name : -undef(...).
|
||||||
# --
|
# --
|
||||||
-undef($1).
|
-undef($1).
|
||||||
$0
|
$0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : automatic
|
#name : automatic
|
||||||
# --
|
# --
|
||||||
automatic $0
|
automatic $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : block data
|
#name : block data
|
||||||
# --
|
# --
|
||||||
block data $0
|
block data $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : continue
|
#name : continue
|
||||||
# --
|
# --
|
||||||
continue $0
|
continue $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : character
|
#name : character
|
||||||
# --
|
# --
|
||||||
character $0
|
character $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : complex
|
#name : complex
|
||||||
# --
|
# --
|
||||||
complex $0
|
complex $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : double complex
|
#name : double complex
|
||||||
# --
|
# --
|
||||||
double complex $0
|
double complex $0
|
@ -3,4 +3,4 @@
|
|||||||
# --
|
# --
|
||||||
do while (${1:condition})
|
do while (${1:condition})
|
||||||
$0
|
$0
|
||||||
end do
|
end do
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : double precision
|
#name : double precision
|
||||||
# --
|
# --
|
||||||
double precision $0
|
double precision $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : equivalence
|
#name : equivalence
|
||||||
# --
|
# --
|
||||||
equivalence $0
|
equivalence $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : implicit byte
|
#name : implicit byte
|
||||||
# --
|
# --
|
||||||
implicit byte $0
|
implicit byte $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : implicit complex
|
#name : implicit complex
|
||||||
# --
|
# --
|
||||||
implicit complex $0
|
implicit complex $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : implicit character
|
#name : implicit character
|
||||||
# --
|
# --
|
||||||
implicit character $0
|
implicit character $0
|
@ -3,4 +3,4 @@
|
|||||||
# --
|
# --
|
||||||
if ( ${1:condition} ) then
|
if ( ${1:condition} ) then
|
||||||
$0
|
$0
|
||||||
end if
|
end if
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : implicit integer
|
#name : implicit integer
|
||||||
# --
|
# --
|
||||||
implicit integer $0
|
implicit integer $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : implicit logical
|
#name : implicit logical
|
||||||
# --
|
# --
|
||||||
implicit logical $0
|
implicit logical $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : implicit none
|
#name : implicit none
|
||||||
# --
|
# --
|
||||||
implicit none
|
implicit none
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : include
|
#name : include
|
||||||
# --
|
# --
|
||||||
include $0
|
include $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : intrinsic
|
#name : intrinsic
|
||||||
# --
|
# --
|
||||||
intrinsic $0
|
intrinsic $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : implicit real
|
#name : implicit real
|
||||||
# --
|
# --
|
||||||
implicit real $0
|
implicit real $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : logical
|
#name : logical
|
||||||
# --
|
# --
|
||||||
logical $0
|
logical $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : parameter
|
#name : parameter
|
||||||
# --
|
# --
|
||||||
parameter $0
|
parameter $0
|
@ -3,4 +3,4 @@
|
|||||||
# --
|
# --
|
||||||
program ${1:name}
|
program ${1:name}
|
||||||
$0
|
$0
|
||||||
end program ${1:name}
|
end program ${1:name}
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : read (*,*)
|
#name : read (*,*)
|
||||||
# --
|
# --
|
||||||
read (${1:*},${2:*}) $0
|
read (${1:*},${2:*}) $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : structure
|
#name : structure
|
||||||
# --
|
# --
|
||||||
structure $0
|
structure $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : subroutine
|
#name : subroutine
|
||||||
# --
|
# --
|
||||||
subroutine $0
|
subroutine $0
|
@ -1,4 +1,4 @@
|
|||||||
#contributor: Li Zhu <http://www.zhuli.name>
|
#contributor: Li Zhu <http://www.zhuli.name>
|
||||||
#name : write (*,*)
|
#name : write (*,*)
|
||||||
# --
|
# --
|
||||||
write (${1:*},${2:*}) $0
|
write (${1:*},${2:*}) $0
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user