Closed amerlyq closed 8 years ago
I am not sure, what to do with this, as I don't use neovim
Aah, I'm not sure either. Manual testing with different kind of terminal strings to fetch msg bore no results. Output don't seems like expected by next substitutions at all.
Would it be possible to make message parsing/patching optional? So only options like D[i]ff
would be added, leaving message body intact?
Hi Dmytro!
On Mo, 23 Nov 2015, Dmytro Kolomoiets wrote:
Aah, I'm not sure either. Manual testing with different kind of terminal strings to fetch msg bore no results. Output don't seems like expected by next substitutions at all. Would it be possible to make message parsing/patching optional? So only options like
D[i]ff
would be added, leaving message body intact?
Okay, I have pushed a change, that allows skipping the investigation of the swapfile. Set the variable 'g:RecoverPlugin_No_Check_Swapfile' to 1
Please check if this works for you.
It somehow works, however option for 'delete' swap file disappered somewhere on the way. (Edit: after some tests, it seems option is present when launching two nvim instances simultaneously and absent when simply found swap file on disk -- both for identical and different) And I miss other info like pid/rights, but consider this as valid compromise, if original message couldn't be left intact. Because, if I understood correctly, replacing only last two lines of case-options in message buffer isn't possible -- only rewriting buffer as whole -- therefore you used re-launching vim inside of vim to get msg?
PID from the message is not parsed, that was the whole point of launching another vim instance in the plugin and what I understand from you was, that exactly that does not work.
Regarding the option "Delete" that is only visible, if no process with this PID exists. That is builtin to Vim, there is nothing I can do about.
Seems like it somehow messed out by reasons of migrating to shada. Check out if it possible to fix, please. As 'diff' case saved me innumerable times, but output makes sad:)