Skip to content

closing existing nrepl connection results in error #4

Description

@aleksandersumowski

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>
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions