summaryrefslogtreecommitdiff
path: root/luasnip_snippets/blade.json
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-08-30 16:06:22 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-08-30 16:06:22 +0100
commitf1eabbaa1b4ff1836d0ee8335b31d009203f3775 (patch)
treebbe77eacaef8ab8a5999e517c3006973c9e3e44c /luasnip_snippets/blade.json
parent823302458ec6c53455a3f34674415c43ce6a3187 (diff)
fixed zathura integration with texlab using nvim-texlabconfig
Diffstat (limited to 'luasnip_snippets/blade.json')
-rw-r--r--luasnip_snippets/blade.json79
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 !!\\}"
+ }
+}