diff options
Diffstat (limited to 'luasnip_snippets/blade.json')
| -rw-r--r-- | luasnip_snippets/blade.json | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/luasnip_snippets/blade.json b/luasnip_snippets/blade.json new file mode 100644 index 0000000..e624f8b --- /dev/null +++ b/luasnip_snippets/blade.json @@ -0,0 +1,79 @@ +{ + "break": { + "prefix": "break", + "description": "@break", + "body": "@break", + "luasnip": { + "priority": -49 + } + }, + "each": { + "prefix": "each", + "description": "@each directive", + "body": "@each('$1', \\$$2, '$3')" + }, + "else": { + "prefix": "else", + "description": "@else directive", + "body": "@else" + }, + "extends": { + "prefix": "extends", + "description": "@extends directive", + "body": "@extends('$1')" + }, + "include": { + "prefix": "include", + "description": "@include directive", + "body": "@include('$1')" + }, + "includeIf": { + "prefix": "includeIf", + "description": "@includeIf directive", + "body": "@includeIf('$1')" + }, + "inject": { + "prefix": "inject", + "description": "@inject directive", + "body": "@inject('$1', '$2')" + }, + "lang": { + "prefix": "lang", + "description": "@lang directive", + "body": "@lang('$1')" + }, + "section": { + "prefix": "section", + "description": "@section directive", + "body": "@section('$1')" + }, + "show": { + "prefix": "show", + "description": "@show directive", + "body": "@show" + }, + "verbatim": { + "prefix": "verbatim", + "description": "@verbatim directive", + "body": [ + "@verbatim", + "\t${0:\\$VISUAL}", + "@endverbatim" + ] + }, + "yield": { + "prefix": "yield", + "description": "@yield directive", + "body": "@yield('$1')" + }, + "{": { + "prefix": "{", + "description": "{{ }} statement.", + "body": "{{ $1 \\}\\}" + }, + "{!": { + "prefix": "{!", + "description": "{!! !!} statement", + "body": "{!! $1 !!\\}" + } +} |
