From 982b467cb0579160a3b2e616d42d5e9ba55f1c5b Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Wed, 4 Jun 2025 08:32:02 +0200 Subject: [PATCH] [Snippets] Add new snippet --- nvim/snippets/snippets/tex.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nvim/snippets/snippets/tex.json b/nvim/snippets/snippets/tex.json index b4aeb28..cbd346f 100755 --- a/nvim/snippets/snippets/tex.json +++ b/nvim/snippets/snippets/tex.json @@ -231,6 +231,15 @@ ], "description": "Inserts a tcolorbox for general purposes. First bracket is title, second one is second title, third one colour" }, + "Simple-Tcolorbox": { + "prefix": "simple-tcb", + "body": [ + "\\begin{simplebox}[]{${1|red,green,blue,cyan,magenta,yellow,black,gray,white,darkgray,lightgray,brown,lime,olive,orange,pink,purple,teal,violet|}}", + "\t$2", + "\\end{simplebox}" + ], + "description": "Inserts a simple tcolorbox. No title, first argument the colour colour" + }, "Derivative": { "prefix": "derivative", "body": [