From 5d95ae4d2c4a47589412fafd1572eaaaff15622d Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 2 Nov 2024 18:51:14 +0100 Subject: style(modules/legacy/conf/nvim): Format --- .../conf/nvim/plgs/luasnip/lua/snippets/tex/delimiter.lua | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/tex') diff --git a/modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/tex/delimiter.lua b/modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/tex/delimiter.lua index 22434aa3..ef453973 100644 --- a/modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/tex/delimiter.lua +++ b/modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/tex/delimiter.lua @@ -19,16 +19,10 @@ return { snippetType = "autosnippet", }, fmta("<>\\left<><>\\right<>", { - f(function(_, snip) - return snip.captures[1] - end), - f(function(_, snip) - return snip.captures[2] - end), + f(function(_, snip) return snip.captures[1] end), + f(function(_, snip) return snip.captures[2] end), d(1, get_visual), - f(function(_, snip) - return translation_table[snip.captures[2]] - end), + f(function(_, snip) return translation_table[snip.captures[2]] end), }) ), } -- cgit 1.4.1