Fixed a bug in vim plugin