Listchars doesn't have lead until 8.2.2454

This commit is contained in:
Anthony Rose 2022-06-09 08:55:48 +00:00
parent 40a1d17964
commit eeccb923dd

6
vimrc
View file

@ -67,7 +67,7 @@ set incsearch
set laststatus=2 set laststatus=2
set linebreak set linebreak
set list set list
set listchars=tab:│ ,lead:·,trail:·,extends:→,precedes:←,nbsp:␣ set listchars=tab:│ ,trail:·,extends:→,precedes:←,nbsp:␣
set modelines=0 set modelines=0
set nobackup set nobackup
set noexpandtab set noexpandtab
@ -198,6 +198,10 @@ else
set signcolumn=yes set signcolumn=yes
endif endif
if has("patch-8.2.2454")
set listchars+=lead
endif
if has('printer') if has('printer')
set printheader=%t%h%m%=Page\ %N set printheader=%t%h%m%=Page\ %N
set printoptions=paper:A4,number:y,syntax:n set printoptions=paper:A4,number:y,syntax:n