refactor(core): remove overseer-nvim config and plugin

This commit is contained in:
Prad Nukala committed 2026-07-05 11:15:50 -04:00
1 parent 65f19a0105
commit 685871f5e6
2 files changed
+1 -39

No files matched your search

+1 -1
View File
@@ -14,6 +14,7 @@ return {
{ import = "astrocommunity.diagnostics.trouble-nvim" }, { import = "astrocommunity.diagnostics.trouble-nvim" },
{ import = "astrocommunity.git.codediff-nvim" }, { import = "astrocommunity.git.codediff-nvim" },
{ import = "astrocommunity.git.octo-nvim" }, { import = "astrocommunity.git.octo-nvim" },
{ import = "astrocommunity.game.leetcode-nvim" },
{ import = "astrocommunity.pack.mdx" }, { import = "astrocommunity.pack.mdx" },
{ import = "astrocommunity.pack.biome" }, { import = "astrocommunity.pack.biome" },
{ import = "astrocommunity.pack.go" }, { import = "astrocommunity.pack.go" },
@@ -27,7 +28,6 @@ return {
{ import = "astrocommunity.pack.toml" }, { import = "astrocommunity.pack.toml" },
{ import = "astrocommunity.pack.typescript" }, { import = "astrocommunity.pack.typescript" },
{ import = "astrocommunity.pack.tailwindcss" }, { import = "astrocommunity.pack.tailwindcss" },
{ import = "astrocommunity.code-runner.overseer-nvim" },
{ import = "astrocommunity.completion.supermaven-nvim" }, { import = "astrocommunity.completion.supermaven-nvim" },
{ import = "astrocommunity.lsp.dev-tools-nvim" }, { import = "astrocommunity.lsp.dev-tools-nvim" },
{ import = "astrocommunity.lsp.nvim-lsp-file-operations" }, { import = "astrocommunity.lsp.nvim-lsp-file-operations" },
-38
View File
@@ -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"