vimfiles icon indicating copy to clipboard operation
vimfiles copied to clipboard

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

Open juniovitorino opened this issue 15 years ago • 2 comments

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.']':''}'

juniovitorino avatar Mar 06 '10 14:03 juniovitorino

I'm have this problem too

bDrwx avatar Jun 16 '10 18:06 bDrwx

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

juniovitorino avatar Jun 17 '10 03:06 juniovitorino