[vim] Use completedone for autoclosing the preview