Closed jojojames closed 6 years ago
Did you try native completion?
Hmnn, yeah, works for me. Was an unrelated issue.
I'm likely missing something. I'm getting:
Error from the Language Server: Could not find path/to/some/File.swift in the workspace. (Server Start Error)
(use-package lsp-mode :ensure t
:config
(lsp-define-stdio-client lsp-swift
"swift"
#'projectile-project-root
'("path/to/langserver-swift/.build/x86_64-apple-macosx10.10/debug/langserver-swift")))
Enabled with
M-x lsp-swift-enable
@xenodium lsp works for me, the language server, however, doesn't. Same error you got.
@jojojames thanks for confirming the same server issue.
lsp works for me
Do you mean you have some lsp Swift support working? Completion/jump to definition? Mind sharing your config?
The swift language server doesn't work for me. Emacs' lsp client does work though (as in, I don't think this not working has anything to do with emacs-lsp).
Got it. Thank you.
Was trying to take a stab at writing a client for swift using https://github.com/RLovelett/langserver-swift.
Hard to tell if it should work/not work or not (or if I'm making any mistakes).
If I try to use company-lsp -> M-x company-diag, I get an error message.
Any help appreciated! Thanks.