Bug#611444: Enable syntax highlighting by default
Package: vim Version: 2:7.2.445+hg~cb94c42c0e1a-1 Severity: wishlist Hello, Please enable syntax highlighting by default. This can be done by uncommenting the following line in /etc/vim/vimrc: syntax on Regards Mathieu Parent -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages vim depends on: ii libacl1 2.2.49-4Access control list shared library ii libc62.11.2-9Embedded GNU C Library: Shared lib ii libgpm2 1.20.4-3.3 General Purpose Mouse - shared lib ii libncurses5 5.7+20100313-5 shared libraries for terminal hand ii libselinux1 2.0.96-1SELinux runtime shared libraries ii vim-common 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - Common files ii vim-runtime 2:7.2.445+hg~cb94c42c0e1a-1 Vi IMproved - Runtime files vim recommends no packages. Versions of packages vim suggests: pn ctags none (no description available) pn vim-doc none (no description available) pn vim-scripts none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#611444: Enable syntax highlighting by default
On Sat, Jan 29, 2011 at 09:32:08AM -0500, James Vega wrote: tag 611444 wontfix thanks On Sat, Jan 29, 2011 at 02:46:19PM +0100, Mathieu Parent wrote: Please enable syntax highlighting by default. This can be done by uncommenting the following line in /etc/vim/vimrc: syntax on You're more than welcome to do that in your own ~/.vimrc file or to modify /etc/vim/vimrc yourself (although I wouldn't recommend it) but that won't be done by the packaging. Turning on syntax highlighting also enable filetype plugins and as described in /usr/share/doc/vim/NEWS.Debian.gz (quoted below) enabling this before the user's vimrc is sourced prevents the user from being able to change certain portions of Vim's behavior. Filetype plugins are no longer enabled by default because certain actions (like preventing the loading of the default menus) *must* occur before filetype detection is enabled. By enabling filetype plugins (and detection) in debian.vim, we were preventing the user from being able to make changes to Vim's behavior. Filetype plugins can be re-enabled via filetype plugin on. As another data point: https://bugs.launchpad.net/ubuntu/+source/vim/+bug/572627 -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega james...@debian.org signature.asc Description: Digital signature