This commit is contained in:
Chris
2025-12-09 16:24:08 +00:00
parent 9bd219f053
commit 282301e206
8 changed files with 52 additions and 131 deletions

View File

@@ -1,16 +0,0 @@
return {
'ravitemer/mcphub.nvim',
dependencies = {
'nvim-lua/plenary.nvim', -- Required for Job and HTTP requests
},
-- uncomment the following line to load hub lazily
cmd = 'MCPHub', -- lazy load
build = 'npm install -g mcp-hub@latest', -- Installs required mcp-hub npm module
-- uncomment this if you don't want mcp-hub to be available globally or can't use -g
-- build = "bundled_build.lua", -- Use this and set use_bundled_binary = true in opts (see Advanced configuration)
config = function()
require('mcphub').setup({
auto_approve = true,
})
end,
}

View File

@@ -25,16 +25,36 @@ return {
require('mini.pairs').setup()
-- require('mini.jump').setup()
require('mini.jump').setup {
mappings = {
repeat_jump = ':',
},
}
require('mini.jump2d').setup()
local MiniJump2d = require 'mini.jump2d'
MiniJump2d.setup {
spotter = MiniJump2d.gen_spotter.union(
MiniJump2d.gen_spotter.pattern('[([{][^$]', 'end'),
MiniJump2d.gen_spotter.pattern('%$.', 'end'),
MiniJump2d.gen_spotter.pattern('->.', 'end'),
MiniJump2d.gen_spotter.pattern('^%s*%S', 'end')
),
mappings = {
start_jumping = 'S',
},
allowed_lines = {
blank = false,
cursor_at = false,
fold = false,
},
}
require('mini.splitjoin').setup()
require('mini.map').setup()
-- Simple and easy statusline.
-- You could remove this setup call if you don't like it,
-- You could remove this setup call i you don't like it,
-- and try some other statusline plugin
local statusline = require 'mini.statusline'
-- set use_icons to true if you have a Nerd Font

View File

@@ -1,58 +0,0 @@
-- Neo-tree is a Neovim plugin to browse the file system
-- https://github.com/nvim-neo-tree/neo-tree.nvim
return {
-- 'nvim-neo-tree/neo-tree.nvim',
-- version = '*',
-- dependencies = {
-- 'nvim-lua/plenary.nvim',
-- 'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
-- 'MunifTanjim/nui.nvim',
-- },
-- cmd = 'Neotree',
-- keys = {
-- { '\\', ':Neotree reveal<CR>', desc = 'NeoTree reveal', silent = true },
-- },
--
-- build = function()
-- if vim.fn.executable 'fd' == 0 then
-- local install_cmd
-- if vim.fn.has 'mac' == 1 then
-- install_cmd = 'brew install fd'
-- elseif vim.fn.has 'unix' == 1 then
-- if vim.fn.filereadable '/etc/arch-release' == 1 then
-- install_cmd = 'sudo pacman -S --noconfirm fd'
-- else
-- install_cmd = 'sudo apt-get install -y fd-find'
-- end
-- else
-- vim.notify("Please install 'fd' manually for neo-tree.", vim.log.levels.WARN)
-- return
-- end
-- vim.fn.system(install_cmd)
-- end
-- end,
--
-- opts = function(_, opts)
-- local function on_move(data)
-- Snacks.rename.on_rename_file(data.source, data.destination)
-- end
-- local events = require 'neo-tree.events'
-- opts.event_handlers = opts.event_handlers or {}
-- vim.list_extend(opts.event_handlers, {
-- { event = events.FILE_MOVED, handler = on_move },
-- { event = events.FILE_RENAMED, handler = on_move },
-- })
--
-- opts.filesystem = {
-- window = {
-- mappings = {
-- ['\\'] = 'close_window',
-- },
-- },
-- filtered_items = {
-- hide_dotfiles = false,
-- },
-- }
-- end,
}

View File

@@ -1,27 +0,0 @@
require('helpers').edit_cf('pt', '/lua/plugins/neotest.lua')
return {
'nvim-neotest/neotest',
lazy = true,
dependencies = {
'nvim-neotest/nvim-nio',
'nvim-lua/plenary.nvim',
'antoinemadec/FixCursorHold.nvim',
'nvim-treesitter/nvim-treesitter',
-- Adapters
'V13Axel/neotest-pest',
-- "olimorris/neotest-phpunit",
},
config = function()
require('neotest').setup {
adapters = {
require 'neotest-pest' {
sail_enabled = function()
return false
end,
parallel = 10,
},
-- require('neotest-phpunit'),
},
}
end,
}

10
lua/plugins/treesj.lua Normal file
View File

@@ -0,0 +1,10 @@
return {
'Wansmer/treesj',
lazy = true,
dependencies = { 'nvim-treesitter/nvim-treesitter' }, -- if you install parsers with `nvim-treesitter`
config = function()
require('treesj').setup({
use_default_keymaps = false,
})
end,
}

View File

@@ -1,13 +0,0 @@
require('helpers').edit_cf('pv', '/lua/plugins/vectorcode.lua')
return {}
-- return {
-- 'Davidyz/VectorCode',
-- version = '*', -- optional, depending on whether you're on nightly or release
-- dependencies = { 'nvim-lua/plenary.nvim' },
-- build = 'pipx upgrade vectorcode',
-- cmd = 'VectorCode', -- if you're lazy-loading VectorCode
-- opts = {
-- async_backend = 'lsp',
-- },
-- }

View File

@@ -1,8 +0,0 @@
if vim.loop.os_uname().sysname == 'Darwin' then
return {
'wakatime/vim-wakatime',
lazy = false,
}
else
return {}
end