lewis6991 / impatient.nvim

Improve startup time for Neovim
MIT License
1.19k stars 28 forks source link

Use `$APPDIR` to cache appimage's `$VIMRUNTIME` files #18

Closed chase closed 3 years ago

chase commented 3 years ago

We could potentially check if a path is under $APPDIR (according to https://docs.appimage.org/packaging-guide/environment-variables.html#type-2-appimage-runtime) then on the next load, just replace any part of the path under $APPDIR to get positive path matches

lewis6991 commented 3 years ago

Sounds like a good idea.

I currently don't have access to a machine that can run the app images (until atleast https://github.com/neovim/neovim/pull/15542 is done), so would need someone to implement this.