[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")

View File

@@ -29,17 +29,18 @@ return {
"bashls",
"clangd",
"cmake",
-- "cssls",
"cssls",
"gopls",
"html-lsp",
"hyprls",
"jdtls",
"latexindent",
"marksman",
-- "lua_ls",
-- "pyright",
"lua_ls",
"pyright",
"rust_analyzer",
"ruby_lsp",
-- "ts_ls",
"ts_ls",
"vue_ls",
"verible",
},