From 968d403e6cfc998acca82ff8ba2feadf62e967bd Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 3 Sep 2009 23:46:03 +0200 Subject: [PATCH] vimrc: Be more compatible with older versions. --- vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 2195805..def6a81 100644 --- a/vimrc +++ b/vimrc @@ -110,7 +110,10 @@ endif " Display tabs, trailing space, non breakable spaces and long lines (when " wrapping is enabled). set list -set listchars=trail:-,nbsp:!,extends:> +set listchars=trail:-,extends:> +if v:version >= 700 + set listchars+=nbsp:! +endif " MAPPINGS (except for plugins, see PLUGIN SETTINGS below) -- 2.45.2