commit 581684733cd7dbabba43c512853d8a8ef75e2b69
parent 8344b32ec7c3c9fdd8692451c96ab9183ea228c6
Author: Alex Balgavy <alex@balgavy.eu>
Date: Wed, 16 Jun 2021 17:13:12 +0200
Restore cursor after clearing output
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/autoload/literate_markdown.vim b/autoload/literate_markdown.vim
@@ -169,6 +169,7 @@ function! s:ClearResult(outputline)
else
execute a:outputline.','.resultend.'delete _'
endif
+ call cursor(rowsave, colsave)
endfunction
function! literate_markdown#ExecPreviousBlock()