chore: remove unused nvim plugins

This commit is contained in:
2026-03-25 15:56:35 +05:00
parent 4db280c102
commit 044e1e415e
3 changed files with 1 additions and 138 deletions

View File

@@ -1,23 +0,0 @@
local dap = require "dap"
dap.adapters["pwa-node"] = {
type = "server",
host = "127.0.0.1",
port = 8123,
executable = {
command = "js-debug-adapter",
},
}
for _, language in ipairs { "javascript", "typescript" } do
dap.configurations[language] = {
{
type = "pwa-node",
request = "launch",
name = "Launch file",
program = "${file}",
cwd = "${workspaceFolder}",
runtimeExecutable = "node",
},
}
end

View File

@@ -25,36 +25,6 @@ M["rust-tools"] = {
},
}
M.dap = {
n = {
["<leader>dt"] = {
"<cmd> DapToggleBreakpoint <CR>",
"Toggle breakpoint",
},
["<leader>dr"] = {
"<cmd> DapContinue <CR>",
"Continue Debugging",
},
["<leader>dc"] = {
"<cmd> DapTerminate <CR>",
"Close Debugger",
},
},
}
M.dap_python = {
plugin = true,
n = {
["<leader>dpr"] = {
function()
require("dap-python").test_method()
end,
"Debug test method",
},
},
}
M.lazygit = {
n = {
["<leader>gg"] = {
@@ -64,19 +34,6 @@ M.lazygit = {
},
}
M.dadbodui = {
n = {
["<leader>db"] = {
"<cmd> DBUIToggle <CR>",
"Toggle DB UI",
},
["<leader>dn"] = {
"<cmd> DBUIAddConnection <CR>",
"Add new database connection",
},
},
}
M.noice = {
n = {
["<leader>nl"] = {

View File

@@ -1,44 +1,6 @@
local cmp = require "cmp"
local plugins = {
{ "nvim-neotest/nvim-nio" },
{
"mfussenegger/nvim-dap",
},
{
"mfussenegger/nvim-dap-python",
ft = "python",
dependencies = {
"mfussenegger/nvim-dap",
"rcarriga/nvim-dap-ui",
"nvim-neotest/nvim-nio",
},
config = function(_, _)
local path = "~/.local/share/nvim/mason/packages/debugpy/venv/bin/python"
require("dap-python").setup(path)
end,
},
{
"rcarriga/nvim-dap-ui",
dependencies = {
"mfussenegger/nvim-dap",
},
config = function()
local dap = require "dap"
local dapui = require "dapui"
dapui.setup()
dap.listeners.after.event_initialized["dapui_config"] = function()
dapui.open()
end
dap.listeners.before.event_terminated["dapui_config"] = function()
dapui.close()
end
dap.listeners.before.event_exited["dapui_config"] = function()
dapui.close()
end
end,
},
{ "folke/neodev.nvim", opts = {} },
{
"nvim-telescope/telescope.nvim",
@@ -89,28 +51,6 @@ local plugins = {
"rcarriga/nvim-notify",
},
},
{
"kristijanhusak/vim-dadbod-ui",
dependencies = {
{
"tpope/vim-dadbod",
lazy = false,
},
{
"kristijanhusak/vim-dadbod-completion",
ft = { "sql", "mysql", "plsql" },
},
},
cmd = {
"DBUI",
"DBUIToggle",
"DBUIAddConnection",
"DBUIFindBuffer",
},
init = function()
vim.g.db_ui_use_nerd_fonts = 1
end,
},
{
"folke/trouble.nvim",
opts = {},
@@ -130,7 +70,6 @@ local plugins = {
"mypy",
"ruff",
"black",
"debugpy",
"lua-language-server",
"nil",
"phpactor",
@@ -158,20 +97,10 @@ local plugins = {
{
"simrat39/rust-tools.nvim",
ft = "rust",
dependencies = { "neovim/nvim-lspconfig", "nvim-lua/plenary.nvim", "mfussenegger/nvim-dap" },
dependencies = { "neovim/nvim-lspconfig", "nvim-lua/plenary.nvim" },
opts = function()
local lspconfig = require "plugins.configs.lspconfig"
-- local extension_path = vim.env.HOME .. "/.local/share/nvim/mason/packages/codelldb/extension/"
-- local codelldb_path = extension_path .. 'adapter/codelldb'
-- local liblldb_path = extension_path .. 'lldb/lib/liblldb.so'
return {
dap = {
adapter = {
type = "executable",
command = "lldb",
name = "rt_lldb",
},
},
server = {
tools = {
hover_actions = {