From 2e9198139b5329b9f082ad97adf011c81e8b2bec Mon Sep 17 00:00:00 2001 From: Dinesh Salunke Date: Thu, 14 Sep 2023 08:39:27 +0530 Subject: [PATCH] refactor: disable the change notification of lazy --- lua/config/lazy.lua | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/lua/config/lazy.lua b/lua/config/lazy.lua index 38eda2a..a1db601 100644 --- a/lua/config/lazy.lua +++ b/lua/config/lazy.lua @@ -1,14 +1,18 @@ local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "https://github.com/folke/lazy.nvim.git", - "--branch=stable", -- latest stable release - lazypath, - }) + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + }) end vim.opt.rtp:prepend(lazypath) -require("lazy").setup("plugins") +require("lazy").setup("plugins", { + change_detection = { + notify = false, + }, +})