-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for GDScript LSP #31
Comments
More context:
(defun lsp-gdscript-tcp-connect-to-port ()
"Define a TCP connection to language server."
(list
:connect (lambda (filter sentinel name _environment-fn _workspace)
(let* ((host "localhost")
(port lsp-gdscript-port)
(tcp-proc (lsp--open-network-stream host port (concat name "::tcp"))))
(set-process-query-on-exit-flag tcp-proc nil)
(set-process-filter tcp-proc filter)
(set-process-sentinel tcp-proc sentinel)
(cons tcp-proc tcp-proc)))
:test? (lambda () t))) |
Actually, on that note: I'm not sure if the GDScript LSP uses JSON in the first place 🤔 |
Hello, see #33 It's only experimental because I don't really use any language servers that use TCP transport and I'm not sure how should we do the elisp part for configuration. It would be great if you can help testing it. |
Hey @blahgeek, awesome! I'll test it out, thanks. |
Thanks for this awesome package @blahgeek
I've noticed that it doesn't apply to GDScript since it doesn't use the
stdio
In comparison to something like JS:
Is it possible to support GDScript? I don't mind implementing it with a bit of guidance. Thanks!
The text was updated successfully, but these errors were encountered: