From 86818cd627d124febb40ae8f144fd15baa92e30a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 22 Nov 2011 15:39:40 +0100 Subject: [PATCH] vimrc: Wrap all plugin settings in one if has('eval'). --- vimrc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/vimrc b/vimrc index 04cae91..6fc405b 100644 --- a/vimrc +++ b/vimrc @@ -386,23 +386,21 @@ endif " PLUGIN SETTINGS +if has('eval') " Use pathogen which allows one 'runtimepath' entry per plugin. This makes " installing/removing/updating plugins simple. (Used for plugins with more " than one file.) -if has('eval') && v:version >= 700 - execute 'call pathogen#runtime_append_all_bundles()' -endif + if v:version >= 700 + execute 'call pathogen#runtime_append_all_bundles()' + endif " Settings for the NERD commenter. " Don't create any mappings I don't want to use. -if has('eval') let NERDCreateDefaultMappings = 0 -endif " Map toggle comment. -map NERDCommenterToggle + map NERDCommenterToggle " XPTemplate settings. -if has('eval') " Try to maintain snippet rendering even after editing outside of a " snippet. let g:xptemplate_strict = 0 -- 2.44.1