Skip to content

Instantly share code, notes, and snippets.

@mrmemes-eth
Created June 24, 2014 20:31
Show Gist options
  • Save mrmemes-eth/cba366cd3de4b23a7da6 to your computer and use it in GitHub Desktop.
Save mrmemes-eth/cba366cd3de4b23a7da6 to your computer and use it in GitHub Desktop.
Error inside vim when opening a test file with a running nrepl
Error detected while processing function <SNR>47_path..<SNR>47_connect:
line 10:
E117: Unknown function: fireplace#register_port_file
E15: Invalid expression: empty(portfile) ? {} : fireplace#register_port_file(portfile, b:leiningen_root)
Error detected while processing FileType Auto commands for "clojure":
E714: List required
Error detected while processing function <SNR>47_projectionist_detect..<SNR>47_path
..<SNR>47_connect:
line 10:
E117: Unknown function: fireplace#register_port_file
E15: Invalid expression: empty(portfile) ? {} : fireplace#register_port_file(portfile, b:leiningen_root)
@mrmemes-eth
Copy link
Author

Here's what I'm doing:

  1. start a new tmux session (v1.9a)
  2. edit a leiningen project (vim .)
  3. :Console
  4. wait for repl to run
  5. edit a test file (:Etest my_project/core)

After that series, I see the above. It's worth noting that the project is empty and I'm seeing it in a project that was generated under leiningen 2.3.4 (I upgraded to 2.4.1 to see if the error would go away, but it persists under 2.4.1).

@mrmemes-eth
Copy link
Author

Aaand I needed to update vim-fireplace. derp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment