Revert "feat(nvim): do not install missing plugins in headless mode"

This reverts commit 7f2534a1fd.
This commit is contained in:
Pallav Vasa
2025-05-15 19:56:46 +00:00
parent b9ba8768b1
commit 50166b54a8

View File

@ -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