From 5ed2291178ede6b97b41a7e07296ad0d1bc6568b Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 31 May 2009 14:31:03 +0200 Subject: [PATCH] securemodelines: Allow disabling of the plugin. Taken from Debian vim-scripts package. Thanks. --- plugin/securemodelines.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugin/securemodelines.vim b/plugin/securemodelines.vim index e862a17..bb4b60f 100644 --- a/plugin/securemodelines.vim +++ b/plugin/securemodelines.vim @@ -11,6 +11,11 @@ if &compatible || v:version < 700 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", -- 2.44.1