Meh I'll figure out submodules later
This commit is contained in:
parent
4ca9d44a90
commit
8cb281f436
352 changed files with 66107 additions and 0 deletions
13
.config/nvim/pack/tree/start/neo-tree.nvim/tests/mininit.lua
Normal file
13
.config/nvim/pack/tree/start/neo-tree.nvim/tests/mininit.lua
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
local root_dir = vim.fs.find("neo-tree.nvim", { upward = true, limit = 1 })[1]
|
||||
assert(root_dir, "no neo-tree found")
|
||||
|
||||
package.path = ("%s;%s/?.lua;%s/?/init.lua"):format(package.path, root_dir, root_dir)
|
||||
vim.opt.packpath:prepend(root_dir .. "/.dependencies")
|
||||
|
||||
vim.opt.rtp = {
|
||||
root_dir,
|
||||
vim.env.VIMRUNTIME,
|
||||
}
|
||||
|
||||
-- need this for tests to work
|
||||
vim.cmd.source(root_dir .. "/plugin/neo-tree.lua")
|
||||
Loading…
Add table
Add a link
Reference in a new issue