Fix bug in handling of request file references
[vim plugin] Use undotree()['cur_seq'] to detect changes