From b3032b57df269672e92b049d1fecf139219bbb82 Mon Sep 17 00:00:00 2001 From: t0xa Date: Tue, 2 Dec 2025 09:00:21 +0300 Subject: [PATCH] Update snippets --- lua/custom/snippets/all.lua | 7 ++++++- lua/custom/snippets/python.lua | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/lua/custom/snippets/all.lua b/lua/custom/snippets/all.lua index b83e59d..97f5a05 100644 --- a/lua/custom/snippets/all.lua +++ b/lua/custom/snippets/all.lua @@ -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) }) }) diff --git a/lua/custom/snippets/python.lua b/lua/custom/snippets/python.lua index b198e43..e3bed3b 100644 --- a/lua/custom/snippets/python.lua +++ b/lua/custom/snippets/python.lua @@ -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" }),