mason-lspconfig.nvim
mason-lspconfig.nvim copied to clipboard
Add Sourcekit LSP Support
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
I need this too. Thanks for consideration.
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.
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