Skip to content

Commit

Permalink
fix markdownfootnote issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhao committed Aug 11, 2020
1 parent d5b1309 commit 63e6a47
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions after/ftplugin/markdown.vim
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
set concealcursor=c
set synmaxcol=3000 " For long Chinese paragraphs

if exists(":FootnoteNumber")
nnoremap <buffer> <Plug>AddVimFootnote :<c-u>call markdownfootnotes#VimFootnotes('i')<CR>
inoremap <buffer> <Plug>AddVimFootnote <C-O>:<c-u>call markdownfootnotes#VimFootnotes('i')<CR>
endif

0 comments on commit 63e6a47

Please sign in to comment.