Bug#314595: vim-common: typo (maybe copy'n'paste error) in /usr/share/vim/vim63/doc/filetype.txt

Ralf Doering Ralf Doering <rdoering@netsys-it.de>, 314595@bugs.debian.org
Fri, 17 Jun 2005 12:27:33 +0200


Package: vim-common
Version: 1:6.3-071+1
Severity: minor
Tags: patch,upstream


There is a simple typo (maybe because auf copy and paste) in the
documentation of the filetype plugin (filetype.txt). In the section
about changelog-plugin (:help changelog-plugin) the wrong file to be
loaded (ftplugin/man.vim instead of ftplugin/changelog.vim) 
is mentioned. This bug exists upstream up to the latest patch for vim63.

A simple patch against upstream sources to correct this:

---------------------------------------------------------------------------

diff -ubr vim63/runtime/doc/filetype.txt vim63.fixed/runtime/doc/filetype.txt
--- vim63/runtime/doc/filetype.txt      2004-06-07 11:05:18.000000000 +0200
+++ vim63.fixed/runtime/doc/filetype.txt        2005-06-17 11:46:07.000000000 +0200
@@ -398,7 +398,7 @@
 Global mappings:
                        NOTE: The global mappings are accessed by sourcing the
                        ftplugin/changelog.vim file first, e.g. with >
-                               runtime ftplugin/man.vim
+                               runtime ftplugin/changelog.vim
 <                      in your |.vimrc|.
 <Leader>o              Switches to the ChangeLog buffer opened for the
                        current directory, or opens it in a new buffer if it

--------------------------------------------------------------------------


Bye,
Ralf


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages vim-common depends on:
ii  vim                          1:6.3-071+1 Vi IMproved - enhanced vi editor

-- no debconf information