Skip to content

Commit

Permalink
Nvim: NO_LAZY -> NVIM_NO_PLUGINS
Browse files Browse the repository at this point in the history
  • Loading branch information
ken-matsui committed Dec 19, 2024
1 parent 3e5d106 commit a2ba447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .config/nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ vim.api.nvim_set_keymap(
{ silent = true, noremap = true, desc = "Close All Sub-windows" }
)

local no_lazy = os.getenv("NO_LAZY")
if no_lazy ~= "1" then
local no_plugins = os.getenv("NVIM_NO_PLUGINS")
if no_plugins ~= "1" then
require("config.lazy")
end

Expand Down

0 comments on commit a2ba447

Please sign in to comment.