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
|
desc: generate vimhelp
|
||||||
cmds:
|
cmds:
|
||||||
- |
|
- |
|
||||||
nvim --clean --headless \
|
nvim --clean --headless \
|
||||||
-u "./scripts/minimal_init.lua" \
|
-u "./scripts/minimal_init.lua" \
|
||||||
+"luafile ./scripts/docgen.lua" \
|
+"luafile ./scripts/docgen.lua" \
|
||||||
+":qa!"
|
+":qa!"
|
||||||
|
|
|
||||||
|
|
@ -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
|
collect = {
|
||||||
require("mini.test").setup {
|
find_files = function()
|
||||||
collect = {
|
return vim.fn.globpath("spec", "**/*_test.lua", true, true)
|
||||||
find_files = function()
|
end,
|
||||||
return vim.fn.globpath("spec", "**/*_test.lua", true, true)
|
},
|
||||||
end,
|
}
|
||||||
},
|
|
||||||
}
|
|
||||||
end
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue