ui/backdrop.lua covers the editor with a blended window below the frame, so the comment stands out. It follows resizes and closes with the frame. ScratchCommentBackdrop sets the dim, or turns it off.
15 lines
440 B
Lua
15 lines
440 B
Lua
vim.opt.runtimepath:prepend(vim.fn.getcwd())
|
|
vim.opt.runtimepath:prepend(assert(vim.env.MINI_TEST, "MINI_TEST is not set; run make test"))
|
|
vim.opt.swapfile = false
|
|
vim.opt.showmode = false
|
|
vim.opt.termguicolors = true
|
|
package.path = vim.fn.getcwd() .. "/tests/?.lua;" .. package.path
|
|
|
|
require("mini.test").setup({
|
|
collect = {
|
|
find_files = function()
|
|
return vim.fn.globpath("tests", "**/*_spec.lua", true, true)
|
|
end,
|
|
},
|
|
})
|