sourcegraph / sg.nvim

Experimental Sourcegraph + Cody plugin for Neovim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Swapfile error when trying to open Cody while already having another cody open in another nvim instance of the same project.

arnevm123 opened this issue · comments

Steps to reproduce:

  1. Open a file in 2 nvim instances
  2. Open cody in the first, ask a random question.
  3. Try to open Cody in the second, but fail with this error:
    image

I think the fix could just be a warning message, as I can see how this is kinda a user error.
Not really important but thought I might as well make a quick issue.
I think this should be easy to reproduce, let me know if it's not 😄