swift test

This commit is contained in:
Rikuoh Tsujitani 2024-05-16 14:09:56 +09:00
parent 46f6ff8f38
commit 4960b9087b
Signed by: riq0h
GPG key ID: 010F09DEA298C717

View file

@ -389,6 +389,12 @@ require("mason-nvim-dap").setup({
ensure_installed = {}, ensure_installed = {},
handlers = {}, handlers = {},
}) })
require("lspconfig").sourcekit.setup({
cmd = { "/usr/bin/sourcekit-lsp" },
filetypes = { "swift" },
on_attach = on_attach,
capabilities = capabilities,
})
require("mason-lspconfig").setup() require("mason-lspconfig").setup()
require("mason-lspconfig").setup_handlers({ require("mason-lspconfig").setup_handlers({
function(server_name) function(server_name)