diff --git a/lua/custom/snippets/all.lua b/lua/custom/snippets/all.lua index ee2f699..90d15e3 100644 --- a/lua/custom/snippets/all.lua +++ b/lua/custom/snippets/all.lua @@ -18,9 +18,9 @@ ls.add_snippets("all", { }), s({ trig = "csection", dscr = "# centered section header #" }, { t "#", - f(util.pad_left(100, 1), { 1 }), + f(util.pad_left(80, 1), { 1 }), i(1, "Some topic"), - f(util.pad_right(100, 1), { 1 }), + f(util.pad_right(80, 1), { 1 }), t "#", t { "", "" }, i(0), diff --git a/lua/custom/snippets/markdown.lua b/lua/custom/snippets/markdown.lua index 5d71aea..5048976 100644 --- a/lua/custom/snippets/markdown.lua +++ b/lua/custom/snippets/markdown.lua @@ -50,7 +50,7 @@ ls.add_snippets( s({ trig = "iq", dscr = "Insert question" }, fmt( [[ -┏━━━━━━━━━━━━━━ Question ✗ ━━━━━━━━━━━━━━━ +┏━━━━━━━━━━━━━━ Question 0 ━━━━━━━━━━━━━━━ **Question** {} @@ -66,7 +66,7 @@ ls.add_snippets( s({ trig = "ip", dscr = "Insert problem" }, fmt( [[ -┏━━━━━━━━━━━━━━ Problem ✗ ━━━━━━━━━━━━━━━ +┏━━━━━━━━━━━━━━ Problem 0 ━━━━━━━━━━━━━━━ **Problem**: {} @@ -84,7 +84,7 @@ ls.add_snippets( fmt( [[ ┏━━━━━━━━━━ Замтеки на полях ━━━━━━━━━━━ -**Тема**: {} +**Theme**: {} {} ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ]], @@ -94,19 +94,5 @@ ls.add_snippets( } ) ), - s({ trig = "ip", dscr = "Insert side notes" }, - fmt( - [[ -┏━━━━━━━━━━━━━━ Проблема ━━━━━━━━━━━━━━━ -- [ ] **Решена** -{} -┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - ]], - { - i(0), - } - ) - ) - } ) diff --git a/lua/custom/snippets/python.lua b/lua/custom/snippets/python.lua index ea404f6..5a28dd8 100644 --- a/lua/custom/snippets/python.lua +++ b/lua/custom/snippets/python.lua @@ -99,13 +99,13 @@ ls.add_snippets("python", { ) ), s({ trig = "pysection", dscr = "Section header" }, { - t { string.rep("#", 100), "" }, + t { string.rep("#", 80), "" }, t "#", - f(util.pad_left(100, 1), { 1 }), + f(util.pad_left(80, 1), { 1 }), i(1, "Section topic"), - f(util.pad_right(100, 1), { 1 }), + f(util.pad_right(80, 1), { 1 }), t "#", - t { "", string.rep("#", 100), "" }, + t { "", string.rep("#", 80), "" }, i(0), }), })