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" } }