-
-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(xbase): Remove lsp, and treesitter logic from xbase, instead poin…
…ting to swift pack (#679) fix(xbase): Remove lsp logic from xbase, instead pointing to swift pack Co-authored-by: Kai Löhnert <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
lua/astrocommunity/programming-language-support/xbase/init.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,12 @@ | ||
local utils = require "astronvim.utils" | ||
|
||
return { | ||
{ | ||
"xbase-lab/xbase", | ||
ft = { "swift", "objcpp", "objc" }, | ||
run = "make install", | ||
dependencies = { | ||
"neovim/nvim-lspconfig", | ||
{ "nvim-telescope/telescope.nvim", optional = true }, | ||
{ "nvim-lua/plenary.nvim", optional = true }, | ||
{ "stevearc/dressing.nvim", optional = true }, -- (in case you don't use telescope but something else) | ||
}, | ||
init = function() require("astronvim.utils.lsp").setup "sourcekit" end, | ||
}, | ||
{ | ||
"nvim-treesitter/nvim-treesitter", | ||
opts = function(_, opts) | ||
if opts.ensure_installed ~= "all" then | ||
opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "swift") | ||
end | ||
end, | ||
}, | ||
{ | ||
"jay-babu/mason-nvim-dap.nvim", | ||
opts = function(_, opts) opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, "codelldb") end, | ||
}, | ||
} |