From 136579cea49199c54c61af5fbae0249f6230b132 Mon Sep 17 00:00:00 2001 From: gluten Date: Thu, 11 Feb 2016 15:17:26 +0100 Subject: [PATCH] Add stacks snippets --- README.md | 4 +++- snippets/blade-push.sublime-snippet | 11 +++++++++++ snippets/blade-stack.sublime-snippet | 7 +++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 snippets/blade-push.sublime-snippet create mode 100644 snippets/blade-stack.sublime-snippet diff --git a/README.md b/README.md index 1a9dc31..4d11746 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,9 @@ Or download the snippets zip file and unzip it into your Packages folder. | secy | @section('`name`')
**{{-- expr --\}\}**
@yield_section | | yl | @yield('`section`', '`default`') | | lsec | @section('`name`')
**{{-- expr --\}\}**
@show | -| par | @parent | +| par | @parent | +| stack | @stack('`name`') | +| push | @push('`name`')
**{{-- expr --\}\}**
@endpush | | !! | {!! $`var` !!} | | }} | {{ `escaped output` }} | | inc | @include('`view.name`', `array('some' => 'data')`) | diff --git a/snippets/blade-push.sublime-snippet b/snippets/blade-push.sublime-snippet new file mode 100644 index 0000000..ca23c2f --- /dev/null +++ b/snippets/blade-push.sublime-snippet @@ -0,0 +1,11 @@ + + + + push + + text.blade + diff --git a/snippets/blade-stack.sublime-snippet b/snippets/blade-stack.sublime-snippet new file mode 100644 index 0000000..b7e00f5 --- /dev/null +++ b/snippets/blade-stack.sublime-snippet @@ -0,0 +1,7 @@ + + + stack + text.blade +