Redo section snippets for python

This commit is contained in:
pro100ton 2025-03-04 12:59:51 +03:00
parent aa20450e89
commit e4914f58de

View file

@ -96,12 +96,23 @@ ls.add_snippets("python", {
{ i(1), rep(1), i(2), i(0) } { 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" }, s({ trig = "pysection", dscr = "Secion snippet" },
fmt( fmt(
[[ [[
##################### Section ############################## ##################################### Section ############################################
# Section topic: {} # Section topic: {}
############################################################ ##########################################################################################
{} {}
]], ]],
{ i(1), i(0) } { i(1), i(0) }