Skip to content

Commit

Permalink
Make opening php tag a completion so it can be removed. Fixes #21
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Sep 26, 2017
1 parent 9f90414 commit f57104d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Snippets/The_Loop.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<snippet>
<content><![CDATA[
<?${TM_PHP_OPEN_TAG:php} if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
${1:<!-- post -->}
${1:<?${TM_PHP_OPEN_TAG:php} }if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
${2:<!-- post -->}
<?${TM_PHP_OPEN_TAG:php} endwhile; ?>
${2:<!-- post navigation -->}
${3:<!-- post navigation -->}
<?${TM_PHP_OPEN_TAG:php} else: ?>
${0:<!-- no posts found -->}
<?${TM_PHP_OPEN_TAG:php} endif; ?>
Expand Down

0 comments on commit f57104d

Please sign in to comment.