Skip to content

Commit

Permalink
fix(swift): update switch pack to AstroNvim v4
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Dec 1, 2023
1 parent e365ec2 commit 08285ae
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions lua/astrocommunity/pack/swift/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,13 @@ local utils = require "astronvim.utils"
return {
{
"xbase-lab/xbase",
ft = {
"swift",
"objcpp",
"objc",
},
ft = { "swift", "objcpp", "objc" },
run = "make install", -- or "make install && make free_space" (not recommended, longer build time)
dependencies = {
"neovim/nvim-lspconfig",
-- "nvim-telescope/telescope.nvim", -- optional
-- "nvim-lua/plenary.nvim", -- optional/requirement of telescope.nvim
-- "stevearc/dressing.nvim", -- optional (in case you don't use telescope but something else)
"AstroNvim/astrolsp",
opts = function(_, opts) opts.servers = require("astrocore").list_insert_unique(opts.servers, "sourcekit-lsp") end,
},
init = function() require("astronvim.utils.lsp").setup "sourcekit-lsp" end,
opts = {},
},
{
"nvimtools/none-ls.nvim",
Expand Down

0 comments on commit 08285ae

Please sign in to comment.