Permalink
Browse files

Merge commit 'bf839b5e931eeb5a44bb36fe6fc02b97d51a940b'

  • Loading branch information...
2 parents d204d5b + bf839b5 commit 767c2b4ea43c8a3a849f54033525bbb75422a5aa @jamessan committed Oct 7, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 .vim/bundle/securemodelines/plugin/securemodelines.vim
@@ -6,9 +6,10 @@
" License: Redistribute under the same terms as Vim itself
" Purpose: A secure alternative to modelines
-if &compatible || v:version < 700
+if &compatible || v:version < 700 || exists('g:loaded_securemodelines')
finish
endif
+let g:loaded_securemodelines = 1
if (! exists("g:secure_modelines_allowed_items"))
let g:secure_modelines_allowed_items = [
@@ -21,6 +22,9 @@ if (! exists("g:secure_modelines_allowed_items"))
\ "foldmethod", "fdm",
\ "readonly", "ro", "noreadonly", "noro",
\ "rightleft", "rl", "norightleft", "norl",
+ \ "cindent", "cin", "nocindent", "nocin",
+ \ "smartindent", "si", "nosmartindent", "nosi",
+ \ "autoindent", "ai", "noautoindent", "noai",
\ "spell",
\ "spelllang"
\ ]

0 comments on commit 767c2b4

Please sign in to comment.