Update snippets

This commit is contained in:
t0xa 2025-12-02 09:00:21 +03:00
parent db60094ef8
commit b3032b57df
2 changed files with 9 additions and 4 deletions

View file

@ -10,7 +10,12 @@ ls.add_snippets("all", {
}),
s("ict", {
f(function()
return os.date("%Y-%m-%d %H:%M")
return os.date("| %Y-%m-%d %H:%M | ")
end)
}),
s("шсе", {
f(function()
return os.date("| %Y-%m-%d %H:%M | ")
end)
})
})

View file

@ -66,9 +66,9 @@ ls.add_snippets("python", {
s({ trig = "logevent", dscr = "Import necessary logging utils" },
fmt(
[[
_log.{}('{}' * 60)
_log.{}({})
_log.{}('{}' * 60)
logging.{}('{}' * 60)
logging.{}({})
logging.{}('{}' * 60)
]],
{
c(1, { t "error", t "warning", t "info" }),