From 50166b54a8e303a7576a1a88a748b2ebba64960c Mon Sep 17 00:00:00 2001 From: Pallav Vasa Date: Thu, 15 May 2025 19:56:46 +0000 Subject: [PATCH] Revert "feat(nvim): do not install missing plugins in headless mode" This reverts commit 7f2534a1fd468044c13fe857b7bdb61e79347658. --- home/.config/nvim/lua/config/lazy.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/home/.config/nvim/lua/config/lazy.lua b/home/.config/nvim/lua/config/lazy.lua index 189df3b..89871d2 100644 --- a/home/.config/nvim/lua/config/lazy.lua +++ b/home/.config/nvim/lua/config/lazy.lua @@ -1,4 +1,3 @@ -local is_headless = #vim.api.nvim_list_uis() == 0 local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not (vim.uv or vim.loop).fs_stat(lazypath) then local lazyrepo = "https://github.com/folke/lazy.nvim.git" @@ -31,7 +30,7 @@ require("lazy").setup({ version = false, -- always use the latest git commit -- version = "*", -- try installing the latest stable version for plugins that support semver }, - install = { missing = not is_headless, colorscheme = { "tokyonight", "habamax" } }, + install = { missing = true, colorscheme = { "tokyonight", "habamax" } }, checker = { enabled = false, -- check for plugin updates periodically notify = false, -- notify on update