9fans / acme-lsp

Language Server Protocol tools for the acme text editor
MIT License
197 stars 25 forks source link

acmefocused not working #53

Closed arturfabriciohahaedgy closed 1 year ago

arturfabriciohahaedgy commented 1 year ago

I followed the usage present in the acmefocused page but every time I do dial $(namespace)/acmefocused it returns this: dial: dial: malformed address As far as I know, this is the same message that happens when you insert an address that doesn't exist, but if I cd into it with cd $(namespace)and do a ls, acmefocused does appear:

srwxr-xr-x 0 artur 31 Dec 10:17 acme
srwxr-xr-x 0 artur 31 Dec 10:17 acmefocused
srwxr-xr-x 0 artur 31 Dec 09:39 font
srwxr-xr-x 0 artur 31 Dec 09:40 plumb

If I'm doing something wrong, I ask you for clarification...

fhs commented 1 year ago

Apologies for the late response.

You need to specify a protocol in the dial string:

dial 'unix!'$(namespace)/acmefocused

I've corrected the example in the documentation.