vim / vim-appimage

AppImage for gVim
118 stars 18 forks source link

Vim failes to find runtime files #55

Closed stablestud closed 10 months ago

stablestud commented 10 months ago

While the new AppImage version v9.0.1876 fixes #51, I encountered a new issue, it probably is related to the switch to the linuxdeploy built.

Fuse:

$ ./Vim.AppImage 
Error detected while processing /usr/share/vim/vimrc:
line   25:
E484: Can't open file /usr/share/vim/syntax/syntax.vim
failed to load colors/lists/default.vim
failed to load colors/lists/default.vim
Press ENTER or type command to continue
$ ./Vim.AppImage --clean
E1187: Failed to source defaults.vim
Press ENTER or type command to continue

Docker:

root@8fc912ed7e38:/# ./Vim.AppImage --appimage-extract-and-run
E1187: Failed to source defaults.vim
Press ENTER or type command to continue

Looks like Vim uses absolute path for some runtime files, which are not available. The issue happens on both Fuse system as well as Fuse'less systems.

``` :set runtimepath? runtimepath=/usr/share/vim/vimfiles,/usr/share/vim,/usr/share/vim/vimfiles/after ```