[LSP] Add sourcekit lsp for swift

This commit is contained in:
2025-10-11 10:09:08 +02:00
parent 9a3cad7676
commit 08f3141e55
2 changed files with 12 additions and 4 deletions

View File

@@ -21,7 +21,14 @@ lsp.config("cmake", {
on_attach = opts.on_attach,
})
lsp.config("sourcekit", {
capabilities = opts.capabilities,
on_attach = opts.on_attach,
filetypes = { "swift" }
})
-- ── Enable configs ───────────────────────────────────────────────
local enable = vim.lsp.enable
enable("clangd")
enable("cmake")
enable("sourcekit")