Skip to content

How to automatically connect to host:port #1475

Closed Answered by krystalcode
krystalcode asked this question in Q&A
Discussion options

You must be logged in to vote

I looked at the code and found this (gdscript-mode . ("localhost" 6008)). It shined upon me to try an integer instead, the following works.

(add-to-list 'eglot-servers-program '((php-mode phps-mode) "phpactor" 8890))

Looking at the documentation it says: "Here host is a string and port is a positive integer" so I guess it's documented there.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by krystalcode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant