I'm debugging a vim script:
:breakadd here
:redir >somefile.txt
:so %
Expected Output:
Entering Debug mode. Type "cont" to continue.
/some/path/somescript.vim
line 327: execute 'echom ' . "'done'"
>step
/some/path/somescript.vim
line 327: echom 'done'
>step
done
/some/path/somescript.vim
line 335: End of sourced file
>finish
:redir END
:e somefile.txt
Instead I get:
-- INSERT --
1 line less; before #1 1 second ago
1 line less; before #1 1 second ago
Already at oldest change
Breakpoint in "/some/path/somescript.vim" line 327
done
Workaround - For now just copy and paste the output with my mouse or scriptease.
:Verbose messages