From 53fc7b700d8625c721724b3211d6bc71dcdb8c6f Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Wed, 6 Dec 2023 17:18:51 -0600 Subject: [PATCH] updates for notifcations loading first and termgui colors added --- lua/options.lua | 3 +++ lua/plugins/auto-save.lua | 3 +++ lua/plugins/vim-notify.lua | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lua/options.lua b/lua/options.lua index 0d72dff..3b8e334 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -56,3 +56,6 @@ vim.opt.diffopt:append("linematch:20") -- Set screen mode vim.o.noequalalways = true vim.o.equalalways = false + +-- enable colors for opacity changes +vim.o.termguicolors = true diff --git a/lua/plugins/auto-save.lua b/lua/plugins/auto-save.lua index dc8589b..2db03e8 100644 --- a/lua/plugins/auto-save.lua +++ b/lua/plugins/auto-save.lua @@ -1,6 +1,9 @@ return { "Pocco81/auto-save.nvim", event = "BufEnter", + init = function() + vim.notify("test") + end, opts = { trigger_events = { "InsertLeave", "TextChanged", "TextChangedI", "BufLeave" }, condition = function(buf) diff --git a/lua/plugins/vim-notify.lua b/lua/plugins/vim-notify.lua index 6b60b51..976c128 100644 --- a/lua/plugins/vim-notify.lua +++ b/lua/plugins/vim-notify.lua @@ -1,6 +1,6 @@ return { "rcarriga/nvim-notify", - event = "VeryLazy", + lazy = false, opts = { top_down = false, },