diff --git a/lua/colorschemes.lua b/lua/colorschemes.lua index 978af75..2365e5c 100644 --- a/lua/colorschemes.lua +++ b/lua/colorschemes.lua @@ -69,12 +69,6 @@ M.rand_colorscheme = function() -- Load the colorscheme and its settings M.colorscheme_conf[colorscheme]() - - if vim.g.logging_level == "debug" then - local msg = "Colorscheme: " .. colorscheme - - vim.notify(msg, vim.log.levels.DEBUG, { title = "nvim-config" }) - end end return M diff --git a/lua/globals.lua b/lua/globals.lua index 2163360..d1a06a7 100644 --- a/lua/globals.lua +++ b/lua/globals.lua @@ -10,7 +10,7 @@ vim.g.is_win = (utils.has("win32") or utils.has("win64")) and true or false vim.g.is_linux = (utils.has("unix") and (not utils.has("macunix"))) and true or false vim.g.is_mac = utils.has("macunix") and true or false -vim.g.logging_level = "info" +vim.g.logging_level = vim.log.levels.INFO ------------------------------------------------------------------------ -- builtin variables --