diff options
author | 2014-08-21 00:23:56 +0200 | |
---|---|---|
committer | 2014-08-21 00:23:56 +0200 | |
commit | c2778f0f713cc885087d6302196e421596ff248e (patch) | |
tree | f289c9e52bcaa6dd1ef7b64343df78492a36141d /emacs/.emacs.d/snippets/php-mode | |
parent | 05415b9b2c455fb5e5f2521610b9d7dd33385d21 (diff) | |
download | dotfiles-c2778f0f713cc885087d6302196e421596ff248e.tar.gz dotfiles-c2778f0f713cc885087d6302196e421596ff248e.zip |
Add Emacs config
Diffstat (limited to 'emacs/.emacs.d/snippets/php-mode')
-rw-r--r-- | emacs/.emacs.d/snippets/php-mode/function | 8 | ||||
-rw-r--r-- | emacs/.emacs.d/snippets/php-mode/wpheader.php | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/emacs/.emacs.d/snippets/php-mode/function b/emacs/.emacs.d/snippets/php-mode/function new file mode 100644 index 0000000..ab4cf2c --- /dev/null +++ b/emacs/.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/.emacs.d/snippets/php-mode/wpheader.php b/emacs/.emacs.d/snippets/php-mode/wpheader.php new file mode 100644 index 0000000..2c70f93 --- /dev/null +++ b/emacs/.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 |