Only use listchars space if the Vim version supports it

This commit is contained in:
Anthony Rose 2017-02-22 09:51:33 +00:00
parent d4ebab24c4
commit b5e5a74cde

7
vimrc
View file

@ -38,7 +38,6 @@ set guioptions=cr
set ignorecase
set linebreak
set list
set listchars=eol,tab:→ ,trail:~,extends:>,precedes:<,space
set modelines=0
set nojoinspaces
set number
@ -57,6 +56,12 @@ silent! colorscheme desert
silent! filetype plugin indent on
silent! syntax on
if has("patch-7.4.710")
set listchars=eol,tab:→ ,trail:~,extends:>,precedes:<,space
else
set listchars=eol,tab:→ ,trail:~,extends:>,precedes:<
endif
if has("gui_running")
if has("gui_gtk2")
set guifont=Monospace\ Regular\ 10