From d74bcda4217497f89aa24ccfead7b84f5d9f10dc Mon Sep 17 00:00:00 2001 From: t0xa Date: Wed, 4 Feb 2026 13:36:40 +0300 Subject: [PATCH] LuaSnip: Add snippet for markdown question --- lua/custom/snippets/markdown.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lua/custom/snippets/markdown.lua b/lua/custom/snippets/markdown.lua index 31f0dca..97464bc 100644 --- a/lua/custom/snippets/markdown.lua +++ b/lua/custom/snippets/markdown.lua @@ -36,6 +36,17 @@ ls.add_snippets( i(2), } ) + ), + s({ trig = "iq", dscr = "Insert question" }, + fmt( + [[ + ❓ #Question {} + **Answer**: + ]], + { + i(0), + } + ) ) } )