Closed crash5 closed 3 years ago
I assume this can't be fixed in the appimage construction. I can add an item in 'sessionoptions', then in this version it can be included by default somehow.
My only idea is some appimage only patch which is add a replacement functionality for a specific pattern in the runtimepath like .mount_vimXXX/
with the $VIMRUNTIME
content on start/source command. I don't know if it is possible or how much work to do something like this.
Upd: I don't know if it's worth a new option in the sessionoptions
setting.
8.2.2772 adds the option. It's questionable if 'runtimepath' should be in the session file at all, but since it's been there until now I hesitate to just remove it. You can at least try adding "skiprtp' to 'sessionoptions' to see if that completely fixes your problem.
Thank you, I will take a look.
I checked it with appimage v8.2.2772 and it looks good to me.
NOTE: It's look like the packpath has the old path too, but I don't see anything that is broken because of it (at least in my scenario) so I close this issue. Thank you again!
Because the appimage uses different path for the vim runtime on every start the runtimepath that saved in the Session.vim is wrong. Because of that the scripts from the default vim runtime path not loaded.
Error:
Steps to reproduce:
Expected result: On session loading vim use the new runtime path.
I found a dirty workaround. Always have to create a Sessionx.vim file with every session but the file reload can be problematic.