fix query in vim plugin