spf13 / spf13-vim

The ultimate vim distribution
http://vim.spf13.com
Apache License 2.0
15.56k stars 3.63k forks source link

when upgrade meet errors. #322

Open lixiphp opened 11 years ago

lixiphp commented 11 years ago

Hello,

when I upgrade, I see this error: Error detected while processing /home5/drupalon/.vimrc: line 172: E474: Invalid argument: listchars=tab:â~@º\ ,trail:â~@¢,extends:#,nbsp:. Press ENTER or type command to continue

spf13 commented 11 years ago

I changed that line today, but I'm surprised it would have that effect.

What OS are you using?

What does that line look like when you view it in less?

Steve Francia http://stevefrancia.com http://spf13.com http://twitter.com/spf13

On Tue, Mar 19, 2013 at 10:20 PM, lixi notifications@github.com wrote:

Hello,

when I upgrade, I see this error: Error detected while processing /home5/drupalon/.vimrc: line 172: E474: Invalid argument: listchars=tab:â~@º\ ,trail:â~@¢,extends:#,nbsp:. Press ENTER or type command to continue

— Reply to this email directly or view it on GitHubhttps://github.com/spf13/spf13-vim/issues/322 .

lixiphp commented 11 years ago

Hi master, the system is centos-release-6-4.el6.centos.10.x86_64

the 172 line is : set listchars=tab:›\ ,trail:•,extends:#,nbsp:. " Highlight problematic whitespace

timo-christ commented 11 years ago

Hi, I had the very same issue, because I was using a vim without multi_byte support. You can check if your vim has multi_byte support by executing vim --version. Just look for multi_byte, If you see a +multi_byte multi_byte support is enabled if you just find a -multi_byte it isn't enabled... and by enabled i mean compiled with multi_byte support...

Legogris commented 11 years ago

Confirmed that this is an issue for vim without multi byte support. We can not always choose our vim installations, so would be nice if this was fixed. Commenting that line out for now.

bronzehedwick commented 10 years ago

Has this issue been resolved?

ghost commented 10 years ago

@bronzehedwick : it looks like we'd have to look for has('multi_byte) and use some other characters if it isnt enabled.

bronzehedwick commented 10 years ago

Gotcha.