about summary refs log tree commit diff stats
path: root/hm/soispha/conf/nvim/plgs/luasnip/lua/snippets/html
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soispha/conf/nvim/plgs/luasnip/lua/snippets/html')
-rw-r--r--hm/soispha/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua66
1 files changed, 33 insertions, 33 deletions
diff --git a/hm/soispha/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua b/hm/soispha/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua
index c467dd68..17e1e7fb 100644
--- a/hm/soispha/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua
+++ b/hm/soispha/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua
@@ -12,10 +12,10 @@ return {
   -- HEADER
   s(
     {
-      trig = "h([123456])";
-      regTrig = true;
-      wordTrig = false;
-      snippetType = "autosnippet";
+      trig = "h([123456])",
+      regTrig = true,
+      wordTrig = false,
+      snippetType = "autosnippet",
     },
     fmt(
       [[
@@ -24,50 +24,50 @@ return {
       {
         f(function(_, snip)
           return snip.captures[1]
-        end);
-        d(1, get_visual);
+        end),
+        d(1, get_visual),
         f(function(_, snip)
           return snip.captures[1]
-        end);
+        end),
       }
     ),
-    { condition = line_begin; }
-  ); -- PARAGRAPH
+    { condition = line_begin }
+  ), -- PARAGRAPH
   s(
-    { trig = "pp"; snippetType = "autosnippet"; },
+    { trig = "pp", snippetType = "autosnippet" },
     fmt(
       [[
           <p>{}</p>
         ]],
-      { d(1, get_visual); }
+      { d(1, get_visual) }
     ),
-    { condition = line_begin; }
-  ); -- UNORDERED LIST
+    { condition = line_begin }
+  ), -- UNORDERED LIST
   s(
-    { trig = "itt"; snippetType = "autosnippet"; },
+    { trig = "itt", snippetType = "autosnippet" },
     fmt(
       [[
           <ul>
             <li>{}</li>{}
           </ul>
         ]],
-      { i(1); i(0); }
+      { i(1), i(0) }
     ),
-    { condition = line_begin; }
-  ); -- LIST ITEM
+    { condition = line_begin }
+  ), -- LIST ITEM
   s(
-    { trig = "ii"; snippetType = "autosnippet"; },
+    { trig = "ii", snippetType = "autosnippet" },
     fmt(
       [[
             <li>{}</li>
         ]],
-      { d(1, get_visual); }
+      { d(1, get_visual) }
     ),
-    { condition = line_begin; }
-  );
+    { condition = line_begin }
+  ),
   -- DOCUMENT TEMPLATE
   s(
-    { trig = "base"; },
+    { trig = "base" },
     fmt(
       [[
         <!doctype HTML>
@@ -81,16 +81,16 @@ return {
         </body>
         </html>
         ]],
-      { i(1, "FooBar"); i(0); }
+      { i(1, "FooBar"), i(0) }
     ),
-    { condition = line_begin; }
-  ); -- ANCHOR TAG
+    { condition = line_begin }
+  ), -- ANCHOR TAG
   s(
     {
-      trig = "([^%l])aa";
-      regTrig = true;
-      wordTrig = false;
-      snippetType = "autosnippet";
+      trig = "([^%l])aa",
+      regTrig = true,
+      wordTrig = false,
+      snippetType = "autosnippet",
     },
     fmt(
       [[
@@ -99,10 +99,10 @@ return {
       {
         f(function(_, snip)
           return snip.captures[1]
-        end);
-        i(1);
-        d(2, get_visual);
+        end),
+        i(1),
+        d(2, get_visual),
       }
     )
-  );
+  ),
 }