Closed
Conversation
Some distributions (eg. Debian 11) do not symlink 'python' to 'python3' so look for both of them before giving up.
Any path prefixed with 'unix:' will do. Written and tested on Linux only, should be relatively easy to have it work on recent Windows 10 versions with some small changes.
Contributor
Author
|
No idea what's wrong with the CI, the python script and the test suite both work fine on my system. |
Contributor
|
Perhaps ch_info() can return port zero to indicate a unix-domain socket? |
Contributor
|
Tests are still failing. |
Contributor
Author
|
The tests are ok now, the CI failure is unrelated as |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As written on the tin this PR allows Vim channels to connect to Unix-domain sockets, much nicer than TCP for local tasks and possibly faster (?).
Open questions:
portargument is omitted inch_info, is that better than returning a meaningless value (empty string or zero)?ch_inforeturn any info about the kind of socket it's connected to (ipv4,ipv6,unix)?