vim-fireplace icon indicating copy to clipboard operation
vim-fireplace copied to clipboard

Add support for AF_UNIX socket connections

Open chancerussell opened this issue 1 year ago • 0 comments

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 avatar Feb 16 '24 20:02 chancerussell