diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-02 18:51:14 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-11-02 18:53:06 +0100 |
commit | 5d95ae4d2c4a47589412fafd1572eaaaff15622d (patch) | |
tree | 6e95a463c0830602933aee3dee61370150c176b0 /modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/tex | |
parent | feat(flake/treefmt.nix): Specify lua formatter settings (diff) | |
download | nixos-config-5d95ae4d2c4a47589412fafd1572eaaaff15622d.tar.gz nixos-config-5d95ae4d2c4a47589412fafd1572eaaaff15622d.zip |
style(modules/legacy/conf/nvim): Format
Diffstat (limited to 'modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/tex')
-rw-r--r-- | modules/home.legacy/conf/nvim/plgs/luasnip/lua/snippets/tex/delimiter.lua | 12 |
1 files changed, 3 insertions, 9 deletions
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), }) ), } |