mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update markdown snippets
This commit is contained in:
@@ -5,7 +5,7 @@ def gen_header(snip):
|
|||||||
|
|
||||||
# erase current line
|
# erase current line
|
||||||
snip.buffer[snip.line] = ""
|
snip.buffer[snip.line] = ""
|
||||||
line_content = "#"*level + " ${1:Section Name} " + "#"*level
|
line_content = "#"*level + " ${1:Section Name}"
|
||||||
line_content += '\n$0'
|
line_content += '\n$0'
|
||||||
|
|
||||||
snip.expand_anon(line_content)
|
snip.expand_anon(line_content)
|
||||||
|
|||||||
Reference in New Issue
Block a user