chore: remove mason and nvim-treesitter-textobjects

This commit is contained in:
2026-09-02 21:07:45 +02:00
parent 1446912895
commit 097e8d194b
2 changed files with 7 additions and 29 deletions
+1 -15
View File
@@ -13,10 +13,7 @@ end)
-- Treesitter ==================================================================
Config.now_if_args(function()
vim.pack.add({
'https://github.com/nvim-treesitter/nvim-treesitter',
'https://github.com/nvim-treesitter/nvim-treesitter-textobjects',
})
vim.pack.add({ 'https://github.com/nvim-treesitter/nvim-treesitter' })
vim.treesitter.language.register('tsx', { 'typescriptreact' })
@@ -42,12 +39,6 @@ Config.now_if_args(function()
end)
end)
-- Mason =======================================================================
Config.now_if_args(function()
vim.pack.add({ "https://github.com/mason-org/mason.nvim" })
require("mason").setup()
end)
-- LSP =========================================================================
Config.now_if_args(function()
vim.pack.add({ "https://github.com/neovim/nvim-lspconfig" })
@@ -91,11 +82,6 @@ function Config.setup_dap()
vim.pack.add({ "https://github.com/mfussenegger/nvim-dap" })
local dap = require("dap")
dap.adapters.php = {
type = "executable",
command = "node",
args = { vim.fn.stdpath("data") .. "/mason/packages/php-debug-adapter/extension/out/phpDebug.js" },
}
dap.adapters.go = {
type = "server",
host = "127.0.0.1",