jazz.nvim icon indicating copy to clipboard operation
jazz.nvim copied to clipboard

closing existing nrepl connection results in error

Open aleksandersumowski opened this issue 6 years ago • 0 comments

Given existing nrepl connection created by JazzNrepl when trying to close it using JazzNrepl I'm getting an exception:

E5105: Error while calling lua chunk: ...owski/.config/nvim/plugged/acid.nvim//lua/acid/nrepl.lua:167: attempt to index a nil value

State of nrepl at the time is:

  cache = {},
  default_middlewares = { "nrepl/nrepl", "cider/cider-nrepl", "refactor-nrepl" },
  handle = {
    _store = {},
    show = <function 1>,
    stderr = <function 2>,
    stdout = <function 3>
  },
  middlewares = {
    ["cider/cider-nrepl"] = { "cider.nrepl/cider-middleware" },
    ["cider/piggieback"] = { "cider.piggieback/wrap-cljs-repl" },
    ["iced-nrepl"] = { "iced.nrepl/wrap-iced" },
    ["nrepl/nrepl"] = {},
    ["refactor-nrepl"] = { "refactor-nrepl.middleware/wrap-refactor" }
  },
  start = <function 4>,
  stop = <function 5>
}

aleksandersumowski avatar Apr 30 '19 21:04 aleksandersumowski