-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Neovim version (nvim -v)
v0.12.0-dev-1919+gddd6ac5083
Operating system/version
Arch linux
Describe the bug
After commit 42d15cd, Neovim freezes in a pnpm workspaces monorepo, when I run a task.
(Specifically it is an npm ts watch task)
No special config required.
just require("overseer").setup()
The freeze appears to be caused by this line of the resolve_workspace_paths function:
lua/overseer/template/npm.lua:88
local matches = vim.fn.glob(glob_path, false, true)What is the severity of this bug?
blocking (cannot use plugin)
Steps To Reproduce
- Create a pnpm workspaces project
- Run a npm task
Expected Behavior
It should not freeze neovim
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
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
"folke/tokyonight.nvim",
{ "stevearc/dressing.nvim", config = true },
{
"stevearc/overseer.nvim",
config = function()
require("overseer").setup({
-- add your overseer config here
})
end,
},
-- add any other plugins here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.cmd.colorscheme("tokyonight")
-- add anything else hereAdditional context
I run the "ts:watch" task:
overseer.run_task({ name = "ts:watch" })
{
"name": "example",
"type": "module",
"private": true,
"scripts": {
"ts:watch": "tsc --build --watch"
},
"engines": {
"node": "24.11.0"
},
"packageManager": "[email protected]+sha512.cf9998222162dd85864d0a8102e7892e7ba4ceadebbf5a31f9c2fce48dfce317a9c53b9f6464d1ef9042cba2e02ae02a9f7c143a2b438cd93c91840f0192b9dd"
}gogamid
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working