i have literally no clue how can this help but i guess i have to try this one
This commit is contained in:
parent
80d0a79179
commit
fb834fbe8b
2 changed files with 8 additions and 11 deletions
|
|
@ -42,7 +42,7 @@ tasks:
|
|||
desc: generate vimhelp
|
||||
cmds:
|
||||
- |
|
||||
nvim --clean --headless \
|
||||
nvim --clean --headless \
|
||||
-u "./scripts/minimal_init.lua" \
|
||||
+"luafile ./scripts/docgen.lua" \
|
||||
+":qa!"
|
||||
|
|
|
|||
|
|
@ -36,13 +36,10 @@ install_plug "echasnovski/mini.test"
|
|||
-- install go treesitter parse
|
||||
require("nvim-treesitter.install").ensure_installed_sync "go"
|
||||
|
||||
-- setup mini.test only when running headless nvim
|
||||
if #vim.api.nvim_list_uis() == 0 then
|
||||
require("mini.test").setup {
|
||||
collect = {
|
||||
find_files = function()
|
||||
return vim.fn.globpath("spec", "**/*_test.lua", true, true)
|
||||
end,
|
||||
},
|
||||
}
|
||||
end
|
||||
require("mini.test").setup {
|
||||
collect = {
|
||||
find_files = function()
|
||||
return vim.fn.globpath("spec", "**/*_test.lua", true, true)
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue