From e4914f58dec1e3ab1e3e1bf736d1765a4a773343 Mon Sep 17 00:00:00 2001 From: pro100ton Date: Tue, 4 Mar 2025 12:59:51 +0300 Subject: [PATCH] Redo section snippets for python --- lua/custom/snippets/python.lua | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/lua/custom/snippets/python.lua b/lua/custom/snippets/python.lua index 88fcb42..93626a1 100644 --- a/lua/custom/snippets/python.lua +++ b/lua/custom/snippets/python.lua @@ -96,12 +96,23 @@ ls.add_snippets("python", { { i(1), rep(1), i(2), i(0) } ) ), + s({ trig = "rupysection", dscr = "Secion snippet" }, + fmt( + [[ + ##################################### Секция ############################################# + # Тема: {} + ########################################################################################## + {} + ]], + { i(1), i(0) } + ) + ), s({ trig = "pysection", dscr = "Secion snippet" }, fmt( [[ - ##################### Section ############################## + ##################################### Section ############################################ # Section topic: {} - ############################################################ + ########################################################################################## {} ]], { i(1), i(0) }