mason-lspconfig.nvim icon indicating copy to clipboard operation
mason-lspconfig.nvim copied to clipboard

Add Sourcekit LSP Support

Open Blackjacx opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe.

Unable to use https://github.com/apple/sourcekit-lsp

Describe the solution you'd like

Liek all the other LSP's please integrate Sourcekit LSP • Swift language

Describe potential alternatives you've considered

No response

Additional context

No response

Blackjacx avatar Nov 25 '23 22:11 Blackjacx

I need this too. Thanks for consideration.

johntheocs avatar Dec 09 '23 12:12 johntheocs

Hello! Sourcekit comes bundled with the Swift toolchain itself. Packaging it as a standalone package in Mason is not in scope. It also relies on output from other tools in your toolchain, so managing it outside of the toolchain would likely cause a lot of issues.

williamboman avatar Jul 17 '24 15:07 williamboman

I think I managed to get it working. See my setup below. If somebody hs a better idea - welcome :)

https://github.com/Blackjacx/Scripts/blob/53526b33a95d5259209e2f4cca4cdf20256e45b4/bootstrap/config_dirs/nvim/lua/user/plugins/lsp/lspconfig.lua#L154-L185

Blackjacx avatar Sep 11 '24 15:09 Blackjacx