You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run a task I always see the strange output "exit$" at the beginning and at the end. It's pretty ugly. How can this be fixed? I use overseer with integration for toggleterm
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Install my repo
Run any task using overseer
Expected Behavior
I want to see only this
Minimal example file
// rust filefnmain(){let var = 2;println!("Hello, world!");}
Minimal init.lua
-- DO NOT change the paths and don't remove the colorschemelocalroot=vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .reprofor_, nameinipairs({ "config", "data", "state", "cache" }) dovim.env[("XDG_%s_HOME"):format(name:upper())] =root.."/" ..nameend-- bootstrap lazylocallazypath=root.."/plugins/lazy.nvim"ifnotvim.loop.fs_stat(lazypath) thenvim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
endvim.opt.runtimepath:prepend(lazypath)
-- install pluginslocalplugins= {
"folke/tokyonight.nvim",
{ "stevearc/dressing.nvim", config=true },
{
'stevearc/overseer.nvim',
cmd= { "OverseerRun", "OverseerRestartLast" },
config=function()
require("overseer").setup({
templates= { "builtin", "user.cpp_build" },
---@diagnosticdisable-next-line:assign-type-mismatchstrategy= {
"toggleterm",
-- load your default shell before starting the taskuse_shell=true,
-- overwrite the default toggleterm "direction" parameterdirection="tab",
-- have the toggleterm window close and delete the terminal buffer-- automatically after the task exitsclose_on_exit=false,
-- have the toggleterm window close without deleting the terminal buffer-- automatically after the task exits-- can be "never, "success", or "always". "success" will close the window-- only if the exit code is 0.quit_on_exit="never",
-- open the toggleterm window when a task startsopen_on_start=true,
-- mirrors the toggleterm "hidden" parameter, and keeps the task from-- being rendered in the toggleable windowhidden=false,
},
})
end,
},
{
'akinsho/toggleterm.nvim',
version="*",
lazy=true,
config=function()
require("toggleterm").setup({
open_mapping="<C-t>",
autochdir=true,
terminal_mappings=true,
shade_terminals=false,
direction="float",
float_opts= {
title_pos="center",
},
})
vim.api.nvim_command'autocmd TermOpen * startinsert' -- starts in insert modevim.api.nvim_command'autocmd TermOpen * setlocal nonumber' -- no numbersvim.api.nvim_command'autocmd TermEnter * setlocal signcolumn=no' -- no sign columnvim.keymap.set('t', '<Esc><Esc>', '<C-\\><C-n>', { desc='Go to normal mode' })
end
}
}
require("lazy").setup(plugins, {
root=root.."/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else here
Additional context
No response
The text was updated successfully, but these errors were encountered:
Neovim version (nvim -v)
0.10
Operating system/version
Linux
Describe the bug
When I run a task I always see the strange output "exit$" at the beginning and at the end. It's pretty ugly. How can this be fixed? I use overseer with integration for toggleterm
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Expected Behavior
I want to see only this
Minimal example file
Minimal init.lua
Additional context
No response
The text was updated successfully, but these errors were encountered: