Fixed errors in vimscript