[vim] Fix listchars error on space

From https://stackoverflow.com/a/36374234
This commit is contained in:
Eric Teunis de Boone 2022-01-25 10:34:38 +01:00
parent 0e6e7d2451
commit 279b135ffe
1 changed files with 5 additions and 1 deletions

View File

@ -26,7 +26,11 @@ set shiftwidth=4
set noexpandtab
" Show whitespace in characters (toggle with set list)
set listchars=tab:→\ ,space,nbsp:␣,trail:•,eol,precedes,extends
if has("patch-7.4.710")
set listchars=tab:→\ ,space,nbsp:␣,trail:•,eol,precedes,extends
else
set listchars=tab:→\ ,nbsp:␣,trail:•,eol,precedes,extends
endif
"Folding
"augroup vimrc