[Git-commits] [grml/grml-etc-core] 3703c8: vimrc: don't fail with skip_defaults_vim setting i...

Michael Prokop noreply at github.com
Wed May 27 13:44:20 CEST 2020


  Branch: refs/heads/mika/gh99
  Home:   https://github.com/grml/grml-etc-core
  Commit: 3703c8070fc472cc4e906caf3b5aec70c0c3aed1
      https://github.com/grml/grml-etc-core/commit/3703c8070fc472cc4e906caf3b5aec70c0c3aed1
  Author: Michael Prokop <mika at grml.org>
  Date:   2020-05-27 (Wed, 27 May 2020)

  Changed paths:
    M etc/vim/vimrc

  Log Message:
  -----------
  vimrc: don't fail with skip_defaults_vim setting if eval feature is missing

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: grml/grml-etc-core#99




More information about the Git-commits mailing list