Bug#496545: vim-common: README.Debian to describe how to enabled file type detection

Osamu Aoki osamu at debian.org
Mon Aug 25 15:40:33 UTC 2008

Package: vim-common
Version: 2:7.2.000-1
Severity: minor

NEWS.Debian.gz describes that you removed file type detection in
debian.vim with good rationale.  (A bit of reading debian.vim told me
what to do on my ~/.vimrc)

Since you did this, I think it is good idea to add reactivation method in
README.Debian.  How about adding following:

File type plugin disabled by default

Filetype plugins are no longer enabled by default in order to enable user to
make changes to Vim's behavior such as loading of the default menus without

You can enable them with "filetype indent on" in command mode or automatically
enabling them at the start of Vim by adding following code snippet in the end
of ~/.vimrc or /etc/vim/vimrc.

  if has("autocmd")
  " Enabled file type detection
  " Use the default filetype settings. If you also want to load indent files
  " to automatically do language-dependent indenting add 'indent' as well.
   filetype plugin on
  endif " has ("autocmd")

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages vim-common depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries

Versions of packages vim-common recommends:
ii  vim-nox [vim]                2:7.2.000-1 Vi IMproved - enhanced vi editor
ii  vim-tiny                     2:7.2.000-1 Vi IMproved - enhanced vi editor -

vim-common suggests no packages.

-- no debconf information

More information about the pkg-vim-maintainers mailing list