syntax error near unexpected token `fi',:我们需要把格式改为unix,方法是打开文件,输入":set ff=unix",也可以输入":set fileformat=unix"