diff --git a/snippets/markdown.snippets b/snippets/markdown.snippets index 9788959..bfbff25 100644 --- a/snippets/markdown.snippets +++ b/snippets/markdown.snippets @@ -23,11 +23,11 @@ snippet ![:* ![${1:id}]: ${2:`@*`} "${3:title}" snippet === - `repeat('=', strlen(getline(line(".") - 1)))` + `repeat('=', strlen(getline(line(".") - 1)) - strlen(getline('.')))` ${1} snippet --- - `repeat('-', strlen(getline(line(".") - 1)))` + `repeat('-', strlen(getline(line(".") - 1)) - strlen(getline('.')))` ${1}