Skip to content

Commit

Permalink
update when normal move
Browse files Browse the repository at this point in the history
  • Loading branch information
isnowfy committed Sep 14, 2016
1 parent ffb01a3 commit 1d04730
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/md_instant.vim
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ sys.stdout = open(os.path.devnull, 'w')
sys.stderr = open(os.path.devnull, 'w')
vim.command(':autocmd!')
vim.command('autocmd CursorMovedI * call UpdateMarkdown()')
vim.command('autocmd CursorMoved * call UpdateMarkdown()')
vim.command('autocmd VimLeave * call CloseMarkdown()')
import md_instant
md_instant.main()
Expand Down

0 comments on commit 1d04730

Please sign in to comment.