python-vim-instant-markdown icon indicating copy to clipboard operation
python-vim-instant-markdown copied to clipboard

error b:md_tick not exist when switch buffer

Open T-bag-A opened this issue 8 years ago • 1 comments
trafficstars

I have modify the md_instant.vim to fixed the problem, pls check

vim.command('autocmd  CursorMovedI <buffer> call UpdateMarkdown()')
vim.command('autocmd  CursorMoved <buffer> call UpdateMarkdown()')
vim.command('autocmd  VimLeave <buffer> call CloseMarkdown()')

add for current buffer autocmd

T-bag-A avatar Sep 02 '17 10:09 T-bag-A

I set it up according to you, but I still reported a mistake. is there anything I can do?

bangenlanbai avatar Sep 19 '20 11:09 bangenlanbai