diff --git a/lua/lazy/core/config.lua b/lua/lazy/core/config.lua index ad4188f..43836d1 100644 --- a/lua/lazy/core/config.lua +++ b/lua/lazy/core/config.lua @@ -51,7 +51,10 @@ function M.setup(opts) M.paths.plugins = vim.fn.stdpath("config") .. "/lua/" .. M.options.plugins:gsub("%.", "/") M.paths.main = M.paths.plugins .. (vim.loop.fs_stat(M.paths.plugins .. ".lua") and ".lua" or "/init.lua") - -- vim.fn.mkdir(M.options.package_path, "p") + -- TODO: check what this does inside a GUI. Probably still ok + if #vim.api.nvim_list_uis() == 0 then + M.options.interactive = false + end vim.api.nvim_create_autocmd("User", { pattern = "VeryLazy",