add fine tuning and unit testing
Some checks failed
tests / test (push) Failing after 44s

This commit is contained in:
2025-12-31 21:25:35 +01:00
parent 3285cd2383
commit d0512b43c9
7 changed files with 762 additions and 94 deletions

15
tests/minimal_init.lua Normal file
View File

@@ -0,0 +1,15 @@
vim.cmd("set rtp^=.")
local data_path = vim.fn.stdpath("data")
local plenary_paths = {
data_path .. "/site/pack/packer/start/plenary.nvim",
data_path .. "/lazy/plenary.nvim",
}
for _, path in ipairs(plenary_paths) do
if vim.fn.isdirectory(path) == 1 then
vim.cmd("set rtp^=" .. path)
end
end
vim.cmd("runtime! plugin/plenary.vim")