Skip to content
This repository was archived by the owner on Mar 9, 2020. It is now read-only.

Commit ee30ba8

Browse files
committed
Added the fn prefix to the footnote marker.
1 parent b213cf4 commit ee30ba8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/markdownfootnotes.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,10 @@ function! s:VimFootnotes(appendcmd)
263263
let g:vimfootnotemark = <sid>VimFootnoteType(g:vimfootnotenumber)
264264
let cr = "\<cr>"
265265
endif
266-
exe "normal ".a:appendcmd."[^".g:vimfootnotemark."]\<esc>"
266+
exe "normal ".a:appendcmd."[^fn".g:vimfootnotemark."]\<esc>"
267267
:below 4split
268268
normal G
269-
exe "normal o".cr."[^".g:vimfootnotemark."]: "
269+
exe "normal o".cr."[^fn".g:vimfootnotemark."]: "
270270
startinsert!
271271
endfunction
272272

0 commit comments

Comments
 (0)