i have literally no clue how can this help but i guess i have to try this one

This commit is contained in:
Oleksandr Smirnov 2025-02-27 21:17:42 +02:00
parent 80d0a79179
commit fb834fbe8b
No known key found for this signature in database
2 changed files with 8 additions and 11 deletions

View file

@ -36,13 +36,10 @@ install_plug "echasnovski/mini.test"
-- install go treesitter parse -- install go treesitter parse
require("nvim-treesitter.install").ensure_installed_sync "go" require("nvim-treesitter.install").ensure_installed_sync "go"
-- setup mini.test only when running headless nvim require("mini.test").setup {
if #vim.api.nvim_list_uis() == 0 then
require("mini.test").setup {
collect = { collect = {
find_files = function() find_files = function()
return vim.fn.globpath("spec", "**/*_test.lua", true, true) return vim.fn.globpath("spec", "**/*_test.lua", true, true)
end, end,
}, },
} }
end