klaaspieter / coc-sourcekit

Swift language server extension using sourcekit-lsp for coc.nvim.
MIT License
73 stars 9 forks source link

Running outside macOS? #15

Closed WhyNotHugo closed 3 years ago

WhyNotHugo commented 3 years ago

Installation prompts me to install Xcode. I'm not running on macOS (I only use the mac as a build machine).

It it not possible to install this on non-mac devices? If not, is it somehow possible to run the LSP remotely?

WhyNotHugo commented 3 years ago

Actually, installing xcode turned out not to be necessary. Merely installing swift suffices, since that provides sourcekit-lsp.

However, something is still off with the plugin:

$ which sourcekit-lsp
/usr/bin/sourcekit-lsp

But I still get [coc.nvim] Cannot find sourcekit-lsp. Install Xcode 11.4+ or se...