File: disabledby-xml.diff

package info (click to toggle)
vim-scripts 20091011
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,132 kB
  • ctags: 2,283
  • sloc: perl: 451; xml: 95; makefile: 25
file content (15 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## disabledby-xml.diff by Stefano Zacchiroli <zack@debian.org>

Index: vim-scripts/ftplugin/xml.vim
===================================================================
--- vim-scripts.orig/ftplugin/xml.vim
+++ vim-scripts/ftplugin/xml.vim
@@ -44,7 +44,7 @@
 "==============================================================================
 
 " Only do this when not done yet for this buffer
-if exists("b:did_ftplugin")
+if exists("b:did_ftplugin") || exists("loaded_xml_ftplugin")
   finish
 endif
 " sboles, init these variables so vim doesn't complain on wrap cancel