diff options
Diffstat (limited to 'lua/lvim/bootstrap.lua')
-rw-r--r-- | lua/lvim/bootstrap.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lua/lvim/bootstrap.lua b/lua/lvim/bootstrap.lua index 5d980498..55a22502 100644 --- a/lua/lvim/bootstrap.lua +++ b/lua/lvim/bootstrap.lua @@ -10,7 +10,6 @@ end local uv = vim.loop local path_sep = uv.os_uname().version:match "Windows" and "\\" or "/" -local in_headless = #vim.api.nvim_list_uis() == 0 ---Join path segments that were passed as input ---@return string @@ -96,9 +95,7 @@ function M:init(base_dir) vim.cmd [[let &packpath = &runtimepath]] end - -- FIXME: currently unreliable in unit-tests - if not in_headless then - _G.PLENARY_DEBUG = false + if not vim.env.LVIM_TEST_ENV then require "lvim.impatient" end |