Skip to content

Commit

Permalink
Merge pull request #19 from felicianopj/master
Browse files Browse the repository at this point in the history
Fix some Blade snippets not working
  • Loading branch information
patricksamson authored Jul 22, 2016
2 parents 64edbbc + 75459e4 commit 8830f9a
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions snippets/Blade/Blade-can.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<snippet>
<content><![CDATA[
@can('${1:ability}', ${2:\$object})
${3//}
${3}
@else
${4//}
${4}
@endcan
]]></content>
<tabTrigger>Blade::can</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion snippets/Blade/Blade-cannot.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
@cannot('${1:ability}', ${2:\$object})
${3//}
${3}
@endcannot
]]></content>
<tabTrigger>Blade::cannot</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion snippets/Blade/Blade-for.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
@for (${1:\$i} = ${2:0}; ${1:\$i} < ${3:10}; ${1:\$i}++)
${4//}
${4}
@endfor
]]></content>
<tabTrigger>Blade::for</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion snippets/Blade/Blade-foreach.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
@foreach (${1:\$records} as ${2:\$record})
${3//}
${3}
@endforeach
]]></content>
<tabTrigger>Blade::foreach</tabTrigger>
Expand Down
4 changes: 2 additions & 2 deletions snippets/Blade/Blade-forelse.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<snippet>
<content><![CDATA[
@foreach (${1:\$records} as ${2:\$record})
${3//}
${3}
@forelse
${4//}
${4}
@endforelse
]]></content>
<tabTrigger>Blade::forelse</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion snippets/Blade/Blade-if.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
@if (${1:\$condition})
${2//}
${2}
@endif
]]></content>
<tabTrigger>Blade::if</tabTrigger>
Expand Down
4 changes: 2 additions & 2 deletions snippets/Blade/Blade-ifelse.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<snippet>
<content><![CDATA[
@if (${1:\$condition})
${2//}
${2}
@else
${3//}
${3}
@endif
]]></content>
<tabTrigger>Blade::ifelse</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion snippets/Blade/Blade-push.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
@push('${1:stack name}')
${2//}
${2}
@endpush
]]></content>
<tabTrigger>Blade::push</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion snippets/Blade/Blade-section.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
@section('${1:content}')
${2//}
${2}
@stop
]]></content>
<tabTrigger>Blade::section</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion snippets/Blade/Blade-unless.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
@unless (${1:\$condition})
${2//}
${2}
@endunless
]]></content>
<tabTrigger>Blade::unless</tabTrigger>
Expand Down
2 changes: 1 addition & 1 deletion snippets/Blade/Blade-while.sublime-snippet
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<snippet>
<content><![CDATA[
@while (${1:\$condition})
${2//}
${2}
@endwhile
]]></content>
<tabTrigger>Blade::while</tabTrigger>
Expand Down

0 comments on commit 8830f9a

Please sign in to comment.