scrooloose / vimfiles

The ~/.vim directory that we share at work
828 stars 465 forks source link

Error .vimrc "syntax error near unexpected token `('" #2

Open juniovitorino opened 14 years ago

juniovitorino commented 14 years ago

I'm not finding which is wrong in this line

set statusline+=%{(&fenc!='utf-8'&&&fenc!='')?'['.&fenc.']':''}

I getting the error below:

bash: .vimrc: line 32: syntax error near unexpected token `('

bash: .vimrc: line 32: `set statusline+=%{(&fenc!='utf-8'&&&fenc!='')?'['.&fenc.']':''}'

bDrwx commented 14 years ago

I'm have this problem too

juniovitorino commented 14 years ago

Use this vimfiles http://github.com/joaovitor/vimfiles