blob: 915792435d4f0d2210fd6744464ff7abfe040fdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
local path_sep = vim.loop.os_uname().version:match "Windows" and "\\" or "/"
local base_dir = os.getenv "LUNARVIM_RUNTIME_DIR" .. path_sep .. "lvim"
local tests_dir = base_dir .. path_sep .. "tests"
vim.opt.rtp:append(tests_dir)
vim.opt.rtp:append(base_dir)
require("lvim.bootstrap"):init(base_dir)
-- NOTE: careful about name collisions
-- see https://github.com/nvim-lualine/lualine.nvim/pull/621
require "tests.lvim.helpers"
|