From 685871f5e6fc1ce4e1ed0329fd9851363c576e29 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Sun, 5 Jul 2026 11:15:50 -0400 Subject: [PATCH] refactor(core): remove overseer-nvim config and plugin --- lua/community.lua | 2 +- lua/polish.lua | 38 -------------------------------------- 2 files changed, 1 insertion(+), 39 deletions(-) diff --git a/lua/community.lua b/lua/community.lua index c069ffd..4311887 100644 --- a/lua/community.lua +++ b/lua/community.lua @@ -14,6 +14,7 @@ return { { import = "astrocommunity.diagnostics.trouble-nvim" }, { import = "astrocommunity.git.codediff-nvim" }, { import = "astrocommunity.git.octo-nvim" }, + { import = "astrocommunity.game.leetcode-nvim" }, { import = "astrocommunity.pack.mdx" }, { import = "astrocommunity.pack.biome" }, { import = "astrocommunity.pack.go" }, @@ -27,7 +28,6 @@ return { { import = "astrocommunity.pack.toml" }, { import = "astrocommunity.pack.typescript" }, { import = "astrocommunity.pack.tailwindcss" }, - { import = "astrocommunity.code-runner.overseer-nvim" }, { import = "astrocommunity.completion.supermaven-nvim" }, { import = "astrocommunity.lsp.dev-tools-nvim" }, { import = "astrocommunity.lsp.nvim-lsp-file-operations" }, diff --git a/lua/polish.lua b/lua/polish.lua index eb772c8..ad3d2a2 100644 --- a/lua/polish.lua +++ b/lua/polish.lua @@ -7,41 +7,3 @@ -- -local overseer = require "overseer" - -overseer.setup { - strategy = { - "toggleterm", - use_shell = false, - direction = "horizontal", - size = function() return math.floor(vim.o.lines * 0.2) end, - auto_scroll = true, - close_on_exit = false, - quit_on_exit = "success", - open_on_start = true, - hidden = true, - }, - -- Persistent tasks: keep completed runs around until the user disposes them. - component_aliases = { - default = { - "on_exit_set_status", - "on_complete_notify", - }, - }, -} - -local task_list = require "overseer.task_list" - -vim.api.nvim_create_user_command("OverseerRestartLast", function() - local tasks = overseer.list_tasks { - status = { overseer.STATUS.SUCCESS, overseer.STATUS.FAILURE, overseer.STATUS.CANCELED }, - sort = task_list.sort_finished_recently, - } - if vim.tbl_isempty(tasks) then - vim.notify("No completed tasks to restart", vim.log.levels.WARN) - return - end - overseer.run_action(tasks[1], "restart") -end, { desc = "Restart the most recently completed Overseer task" }) - -vim.cmd.cnoreabbrev "OS OverseerShell"