From bdd3025be432f5d78f8bfe1584c90ce63e51a693 Mon Sep 17 00:00:00 2001 From: ottjk Date: Sun, 28 Jan 2024 12:08:43 -0500 Subject: updated snips and configs toml --- configs.toml | 4 ---- nvim/snips/tex/chunks.lua | 4 ++-- nvim/snips/tex/expressions.lua | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/configs.toml b/configs.toml index 28828d9..146ba28 100644 --- a/configs.toml +++ b/configs.toml @@ -1,7 +1,3 @@ -[tofi] -file = "tofi" -parent = "~/.config" - [dunst] file = "dunst" parent = "~/.config" diff --git a/nvim/snips/tex/chunks.lua b/nvim/snips/tex/chunks.lua index 7e6b8d1..5fb1aaf 100644 --- a/nvim/snips/tex/chunks.lua +++ b/nvim/snips/tex/chunks.lua @@ -206,7 +206,7 @@ return { \end{split}\end{equation} ]], { n.i(0) }), - { condition = h.in_text * h.line_begin }) + { condition = h.in_text * h.line_begin }), -- split display equation n.s({trig="sld", snippetType="autosnippet"}, n.fmta( @@ -216,5 +216,5 @@ return { \end{split} \] ]], { n.i(0) }), - { condition = h.in_text * h.line_begin }) + { condition = h.in_text * h.line_begin }), } diff --git a/nvim/snips/tex/expressions.lua b/nvim/snips/tex/expressions.lua index 88659eb..3ac5a70 100644 --- a/nvim/snips/tex/expressions.lua +++ b/nvim/snips/tex/expressions.lua @@ -69,12 +69,12 @@ return { { condition = h.in_mathzone } ), n.s({trig="pd", snippetType="autosnippet"}, - n.fmta("\\pd[]{<>}{<>} ", + n.fmta("\\pd[]{<>}{<>}", { n.i(1), n.i(2) }), { condition = h.in_mathzone } ), n.s({trig="pD", snippetType="autosnippet"}, - n.fmta("\\pd[<>]{<>}{<>} ", + n.fmta("\\pd[<>]{<>}{<>}", { n.i(1), n.i(2), n.i(3) }), { condition = h.in_mathzone } ), -- cgit v1.3