1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

fix markdownfootnote issue

see https://github.com/vim-pandoc/vim-markdownfootnotes/issues/22 for the details
This commit is contained in:
jdhao 2020-08-11 13:06:58 +08:00 committed by GitHub
parent d5b1309db9
commit 63e6a47263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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