From: Simon Ruderich Date: Thu, 3 Sep 2009 21:46:03 +0000 (+0200) Subject: vimrc: Be more compatible with older versions. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=968d403e6cfc998acca82ff8ba2feadf62e967bd;p=config%2Fdotfiles.git vimrc: Be more compatible with older versions. --- 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)