Closed xguerin closed 4 years ago
Problem
When the target name is a prefix of the source name, switch would not happen as we would ask vim to switch to a non existent buffer.
Example
OCaml's ".mli" files and ".ml" files.
Fix
Check the existence of the buffer by its full name.
Problem
When the target name is a prefix of the source name, switch would not happen as we would ask vim to switch to a non existent buffer.
Example
OCaml's ".mli" files and ".ml" files.
Fix
Check the existence of the buffer by its full name.