Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vimrc: don't fail with skip_defaults_vim setting if eval feature is m…
…issing If vim-tiny is present (lacking +eval feature, see `vim --version`), then invoking vim fails with: | Error detected while processing /usr/share/vim/vimrc: | line 30: | E319: Sorry, the command is not available in this version: let g:skip_defaults_vim=1 The /usr/share/vim/vimrc is a symlink to /etc/vim/vimrc: | % ls -la /usr/share/vim/vimrc | lrwxrwxrwx 1 root root 14 May 12 02:37 /usr/share/vim/vimrc -> /etc/vim/vimrc Closes: #99
- Loading branch information
3703c80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just quickly tested with
vim.tiny
in my Debian/jessie docker:(No
vim
-only binary was provided. Is there anupdate-alternative
trick or so?)I am not sure if we can expect our configuration to work with vim.tiny.
3703c80
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here the output of my Debian/bullseye docker:
Maybe we need to skip everything with vim-tiny?