about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/html
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-02 18:51:14 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-02 18:53:06 +0100
commit5d95ae4d2c4a47589412fafd1572eaaaff15622d (patch)
tree6e95a463c0830602933aee3dee61370150c176b0 /modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/html
parentfeat(flake/treefmt.nix): Specify lua formatter settings (diff)
downloadnixos-config-5d95ae4d2c4a47589412fafd1572eaaaff15622d.zip
style(modules/legacy/conf/nvim): Format
Diffstat (limited to 'modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/html')
-rw-r--r--modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua12
1 files changed, 3 insertions, 9 deletions
diff --git a/modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua b/modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua
index 17e1e7fb..568c97ec 100644
--- a/modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua
+++ b/modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/html/html.lua
@@ -22,13 +22,9 @@ return {
           <h{}>{}</h{}>
         ]],
       {
-        f(function(_, snip)
-          return snip.captures[1]
-        end),
+        f(function(_, snip) return snip.captures[1] end),
         d(1, get_visual),
-        f(function(_, snip)
-          return snip.captures[1]
-        end),
+        f(function(_, snip) return snip.captures[1] end),
       }
     ),
     { condition = line_begin }
@@ -97,9 +93,7 @@ return {
           {}<a href="{}">{}</a>
         ]],
       {
-        f(function(_, snip)
-          return snip.captures[1]
-        end),
+        f(function(_, snip) return snip.captures[1] end),
         i(1),
         d(2, get_visual),
       }