Skip to content

bug: mix template doesn't work and slows down overseer #498

@flexagoon

Description

@flexagoon

Neovim version (nvim -v)

v0.12.0-dev+1855-c08139d79

Operating system/version

Fedora 43

Describe the bug

In an Elixir project, the mix template never returns any tasks, while also causing overseer to significantly slow down to the point where every single OverseerRun can take >10 seconds

What is the severity of this bug?

breaking (some functionality is broken)

Steps To Reproduce

  1. mix new test && cd test
  2. Create some other task file (ie. a justfile) for testing purposes
  3. nvim -u repro.lua
  4. :OverseerRun takes multiple seconds to run every single time and doesn't show mix tasks

Expected Behavior

  1. Mix tasks should be shown in the list
  2. It should cache the tasks, so that subsequent launches don't take this long

Minimal example file

No response

Minimal init.lua

-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- Install overseer
vim.o.packpath = vim.o.packpath .. ',~/.local/share/nvim/site'
vim.pack.add({ "https://github.com/stevearc/overseer.nvim" })

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions