-- 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 here
Neovim version (nvim -v)
0.8.0
Operating system/version
linux
Describe the bug
my task:
local fileutil = require("utils.file")
return { name = "gradle run", params = { task = { type = "enum", name = "task name", choices = { "assemble", "assembleDebug", "assembleRelease" }, delimiter = " ", order = 1, optional = false, default = "assembleDebug", }, }, condition = { callback = function(opts) local found = vim.fs.find("gradlew", { upward = true, type = "file", path = opts.dir })[1] if not found then return false, "Not gradle project" end return true end, }, builder = function(params) return { cmd = { "./gradlew" }, args = { params.task }, components = { { "on_output_quickfix", set_diagnostics = true, open = true, }, "on_result_diagnostics", "default", }, } end, }
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
Expected Behavior
select enum item easy
Minimal example file
No response
Minimal init.lua
Additional context
No response