beeender/Comrade

Opening files with duplicate names causes vim-Comrade to hang

Opened this issue · 1 comments

Given:

project/foo.java
project/ui/foo.java

Do:

  1. $ vi project/foo.java
  2. Inside type in command mode
    : e project/ui/foo/java
  3. Wait a few seconds, Comrade should hang.

Looks like the code ends up in an infinite loop as CPU is at 100%