Package: vim-common Version: 2:8.1.0875-5 Severity: normal File: /usr/share/vim/vim81/debian.vim
Dear Maintainer, A directory /etc/vim is missing from the VIM runtimepath and so my syntax file at /etc/vim/syntax/dhcpd.vim is not loaded after upgrade to the Debian Buster release. You mentioned addition of /etc/vim into the default 'runtimepath' in changelog for version 2:8.1.0693-2. That is true, but this default runtimepath is overriden in the debian.vim file. zito@confl-priv:~$ vim -D Entering Debug mode. Type "cont" to continue. /usr/share/vim/vimrc line 10: runtime! debian.vim >set rtp runtimepath=~/.vim,/etc/vim,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,/etc/vim/after,~/.vim/after >n /usr/share/vim/vimrc line 26: syntax on >set rtp runtimepath=~/.vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,/var/lib/vim/add ons/after,~/.vim/after > Addition a line bellow into /etc/vim/vimrc fixes the problem a dirty way. @@ -8,6 +8,8 @@ " This line should not be removed as it ensures that various options are " properly set to work with the Vim-related packages available in Debian. runtime! debian.vim +" FIXME bugworkaround FIXME +set runtimepath=~/.vim,/etc/vim,/var/lib/vim/addons,/usr/share/vim/vimfiles,/usr/share/vim/vim81,/usr/share/vim/vimfiles/after,/var/lib/vim/addons/after,/etc/vim/after,~/.vim/after " Vim will load $VIMRUNTIME/defaults.vim if the user does not have a vimrc. " This happens after /etc/vim/vimrc(.local) are loaded, so it will override Thanks for your work! Cheers -- Zito *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: 10.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages vim-common depends on: ii xxd 2:8.1.0875-5 Versions of packages vim-common recommends: ii vim 2:8.1.0875-5 ii vim-tiny 2:8.1.0875-5 vim-common suggests no packages. -- Configuration Files: /etc/vim/vimrc changed [not included] -- no debconf information