diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-07 23:46:17 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-02-07 23:46:17 -0700 |
commit | 07f2b9fc297772e8a92b857266d61acc0f58b92b (patch) | |
tree | 8c3c4f86a7a5bceeb35414cd18f618e1dd1710ef /.emacs.d/snippets | |
parent | 132444056ae3ad2d7a37dd21619ee916e005971b (diff) | |
download | dotfiles-07f2b9fc297772e8a92b857266d61acc0f58b92b.tar.gz |
add some perl yasnippets
Diffstat (limited to '.emacs.d/snippets')
-rw-r--r-- | .emacs.d/snippets/perl-mode/catch | 7 | ||||
-rw-r--r-- | .emacs.d/snippets/perl-mode/func | 9 | ||||
-rw-r--r-- | .emacs.d/snippets/perl-mode/method | 9 |
3 files changed, 25 insertions, 0 deletions
diff --git a/.emacs.d/snippets/perl-mode/catch b/.emacs.d/snippets/perl-mode/catch new file mode 100644 index 00000000..2d2cc15c --- /dev/null +++ b/.emacs.d/snippets/perl-mode/catch @@ -0,0 +1,7 @@ +#<<< +try { + $0 +} catch { + +}; +#>>>
\ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/func b/.emacs.d/snippets/perl-mode/func new file mode 100644 index 00000000..d4b42703 --- /dev/null +++ b/.emacs.d/snippets/perl-mode/func @@ -0,0 +1,9 @@ +=func $1($2) + +$0 + +=cut + +sub $1 { + +}
\ No newline at end of file diff --git a/.emacs.d/snippets/perl-mode/method b/.emacs.d/snippets/perl-mode/method new file mode 100644 index 00000000..8b4dc48f --- /dev/null +++ b/.emacs.d/snippets/perl-mode/method @@ -0,0 +1,9 @@ +=method $1($2) + +$0 + +=cut + +sub $1 { + +} |