diff options
| author | kylo252 <[email protected]> | 2022-10-22 15:25:46 +0200 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-22 15:25:46 +0200 | 
| commit | 25c4241b07d2036fc5d0d4c18be43a16a5370ef0 (patch) | |
| tree | 4375736f21d6e8eaa316af748d9938d3c2740d52 /lua/lvim/bootstrap.lua | |
| parent | 36c8bdee9ff59a0a63c1edfc445b5eb2886cf246 (diff) | |
refactor: clean up test env paths (#3318)
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  | 
