Skip to content

Commit

Permalink
add php snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
Johniel committed Nov 17, 2013
1 parent 4097c9c commit cd447b2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snippets/php-mode/req.snip
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: req
# key: req
# --
require_once(dirname(__FILE__) . "/$1.php");$0
7 changes: 7 additions & 0 deletions snippets/php-mode/while.snip
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
# name: while
# key: while
# --
while (${1:condition}) {
$0
}

0 comments on commit cd447b2

Please sign in to comment.