1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
#! /bin/sh /usr/share/dpatch/dpatch-run
## disabledby-securemodelines.dpatch by James Vega <jamessan@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.
@DPATCH@
diff -urNad vim-scripts~/plugin/securemodelines.vim vim-scripts/plugin/securemodelines.vim
--- vim-scripts~/plugin/securemodelines.vim 2008-07-22 19:03:09.000000000 -0400
+++ vim-scripts/plugin/securemodelines.vim 2008-07-22 19:31:48.000000000 -0400
@@ -11,6 +11,11 @@
finish
endif
+if exists("g:loaded_securemodelines")
+ finish
+endif
+let g:loaded_securemodelines = 1
+
if (! exists("g:secure_modelines_allowed_items"))
let g:secure_modelines_allowed_items = [
\ "textwidth", "tw",
|