Only use listchars space if the Vim version supports it
This commit is contained in:
parent
d4ebab24c4
commit
b5e5a74cde
1 changed files with 6 additions and 1 deletions
7
vimrc
7
vimrc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue