tpope / vim-fireplace

fireplace.vim: Clojure REPL support
https://www.vim.org/scripts/script.php?script_id=4978
1.75k stars 139 forks source link

Add support for AF_UNIX socket connections #416

Closed chancerussell closed 6 months ago

chancerussell commented 9 months ago

Resolves #417.

A draft for adding support for connecting to AF_UNIX domain socket nREPL servers (the type that nREPL starts when you provide the --socket PATH option).

If the user calls FireplaceConnect with a string starting with nrepl+unix:, we'll take the remainder of the string as a path to the domain socket and create a Python socket

This is a proof of concept—I imagine we'd like to do something more elegant than a "magic string prefix" to allow users to ask for such a connection and for the Vimscript portion of the plugin to tell the Python portion to initiate one, but we're already pushing up against the limits of my Vimscript and Python skills :)

chancerussell commented 6 months ago

Closed in favor of #418