VIM Error: E474: Invalid argument: listchars=tab:»·,trail:· -
summary:
i receiving following error having below line in .vimrc file
error:
e474: invalid argument: listchars=tab:»·,trail:·
.vimrc:
set list listchars=tab:»·,trail:·
i have researched , appears have utf8 encoding being set.
system setup:
lsb_release:
distributor id: ubuntu description: ubuntu 12.04 lts release: 12.04 codename: precise
locale:
lang=en_us.utf-8 language= lc_ctype="en_us" lc_numeric="en_us" lc_time="en_us" lc_collate="en_us" lc_monetary="en_us" lc_messages="en_us" lc_paper="en_us" lc_name="en_us" lc_address="en_us" lc_telephone="en_us" lc_measurement="en_us" lc_identification="en_us" lc_all=en_us
solution:
place following lines @ top of .vimrc error mentions:
.vimrc:
scriptencoding utf-8 set encoding=utf-8
Comments
Post a Comment