diff options
Diffstat (limited to '.emacs.d/snippets/php-mode')
-rw-r--r-- | .emacs.d/snippets/php-mode/function | 8 | ||||
-rw-r--r-- | .emacs.d/snippets/php-mode/wpheader.php | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/.emacs.d/snippets/php-mode/function b/.emacs.d/snippets/php-mode/function new file mode 100644 index 0000000..ab4cf2c --- /dev/null +++ b/.emacs.d/snippets/php-mode/function @@ -0,0 +1,8 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: function +# key: function +# -- +function $1($2) +{ + $0 +}
\ No newline at end of file diff --git a/.emacs.d/snippets/php-mode/wpheader.php b/.emacs.d/snippets/php-mode/wpheader.php new file mode 100644 index 0000000..2c70f93 --- /dev/null +++ b/.emacs.d/snippets/php-mode/wpheader.php @@ -0,0 +1,13 @@ +# -*- mode: snippet; require-final-newline: nil -*- +# name: WP Plugin Header +# key: header +# -- +/* + * Plugin Name: $1 + * Plugin URI: $2 + * Description: $3 + * Version: ${4:1.0} + * Author: ${5:Tom Willemse} + * Author URI: ${6:https://ryuslash.org} + * License: ${7:GPLv2} + */
\ No newline at end of file |