Bug#465330: correct fix and patch for xml.vim

Marvin Renich mrvn at renich.org
Tue Feb 12 16:48:14 UTC 2008


package vim-scripts
tags 465330 patch
thanks

Upon closer inspection, my "possible fix" in the original report was
incorrect.  I am attaching a patch with the correct fix.

Fix:  remove the line "let loaded_xml_ftplugin = 1"

Rational:  since loaded_xml_ftplugin is only used by the vim-addons
manager to disable the script, not to prevent the script from running
twice when it is enabled, the script should not set the variable if it
is not already set.

The script needs to be able to run more than once for different buffers,
and the b:did_ftplugin variable already prevents it from being run twice
for the same buffer.

...Marvin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: xml.vim.patch
Type: text/x-diff
Size: 373 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20080212/debc9b29/attachment.patch 


More information about the pkg-vim-maintainers mailing list