]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - plugin/securemodelines.vim
securemodelines: Allow disabling of the plugin.
[config/dotfiles.git] / plugin / securemodelines.vim
index e862a17888a7bdc1afa8340b3854555b9edce8fe..bb4b60f714c0ee54f8fa16060ca4d943e684bff5 100644 (file)
@@ -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",