From: Simon Ruderich Date: Sat, 30 Jun 2012 13:06:20 +0000 (+0200) Subject: vimrc: Only enable some items in securemodelines. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=81fd9dd908139ac857db0090e920fcd5a6c7cda1;p=config%2Fdotfiles.git vimrc: Only enable some items in securemodelines. --- diff --git a/vimrc b/vimrc index 4d15af8..f482daf 100644 --- a/vimrc +++ b/vimrc @@ -637,6 +637,12 @@ if has('eval') silent! execute 'call pathogen#runtime_append_all_bundles()' endif +" Settings for securemodelines. + " Only allow items I need (also includes spl which is not enabled by + " default). + let g:secure_modelines_allowed_items = ['ft', 'spl', 'fdm', + \ 'sw', 'sts', 'noet'] + " Settings for the NERD commenter. " Don't create any mappings I don't want to use. let g:NERDCreateDefaultMappings = 0