Skip to content

Commit c7a8b06

Browse files
committed
Merge pull request #26 from redgluten/master
Add url snippet
2 parents a481d45 + 8658bd4 commit c7a8b06

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ Or download the snippets zip file and unzip it into your Packages folder.
4343
| each | @each ('`item.view`', $`items`, '`item`', '`empty.view`')
4444
| trans | {{ trans('`language.line`') }} |
4545
| route | {{ route('`name`') }} |
46-
| asset | {{ asset('`path`') }} |
46+
| asset | {{ asset('`path`') }} |
47+
| url | {{ url('`path`') }} |
4748
| while | @while (`condition`) <br /> **{{-- expr --\}\}** <br /> @endwhile |
4849
| unless | @unless (`condition`) <br /> **{{-- expr --\}\}** <br /> @endunless |
4950
| choise | @choice('`language.line`', $`number`) |

snippets/blade-url.sublime-snippet

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<snippet>
2+
<content><![CDATA[
3+
{{ url('${0:path}') }}
4+
]]></content>
5+
<tabTrigger>url</tabTrigger>
6+
<scope>text.html.laravel-blade</scope>
7+
</snippet>

0 commit comments

Comments
 (0)