1
0
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:
jdhao 2019-12-19 11:24:48 +08:00 committed by GitHub
parent a5be915ced
commit 54e03e5bfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ def gen_header(snip):
# erase current line
snip.buffer[snip.line] = ""
line_content = "#"*level + " ${1:Section Name} " + "#"*level
line_content += '\n$0'
line_content += '\n\n$0'
snip.expand_anon(line_content)
endglobal