From 15efd0094ef61515c649d1b27fe0c7f4e6b1b89c Mon Sep 17 00:00:00 2001 From: afonsofrancof Date: Fri, 14 Oct 2022 21:30:59 +0100 Subject: [PATCH] Polished vimtex config --- .config/nvim/lua/custom/luasnippets/languages/latex.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/custom/luasnippets/languages/latex.json b/.config/nvim/lua/custom/luasnippets/languages/latex.json index 1f53f77..325718c 100644 --- a/.config/nvim/lua/custom/luasnippets/languages/latex.json +++ b/.config/nvim/lua/custom/luasnippets/languages/latex.json @@ -10,8 +10,15 @@ "Use CP Rule": { "prefix": ["rule"], "body": [ - "\\equiv \\{Propriedade\\ ${1:Numero_da_propriedade}\\}$0" + "\\equiv \\{Propriedade\\ ${1:Numero_da_propriedade}\\}\\\\$0" ], "description": "Create a Split" + }, + "Use conditional": { + "prefix": ["cond"], + "body": [ + "${1:p} \\implies ${2:f},${3:g}$0" + ], + "description": "Create an implication" } }