summaryrefslogtreecommitdiff
path: root/luasnip_snippets/blade.json
blob: e624f8bd7cec62fda07c90a550544c3b40804b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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 !!\\}"
  }
}