From 81fd9dd908139ac857db0090e920fcd5a6c7cda1 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 30 Jun 2012 15:06:20 +0200 Subject: [PATCH] vimrc: Only enable some items in securemodelines. --- vimrc | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.45.2