From 99ebdc75081f7d90549410b342e351e9f25c195e Mon Sep 17 00:00:00 2001 From: NTBBloodbath Date: Sat, 3 Jul 2021 20:56:18 -0400 Subject: [PATCH] fix(logging): stop shadowing variable --- lua/doom/core/logging/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/doom/core/logging/init.lua b/lua/doom/core/logging/init.lua index 38a9411..6e06da0 100644 --- a/lua/doom/core/logging/init.lua +++ b/lua/doom/core/logging/init.lua @@ -9,7 +9,7 @@ ----- CUSTOM SECTION -------------------------------------- ----------------------------------------------------------- local utils = require('doom.utils') -local config = dofile(utils.doom_root .. '/doom_config.lua') +local doom_config = dofile(utils.doom_root .. '/doom_config.lua') ----------------------------------------------------------- ----------------------------------------------------------- @@ -30,7 +30,7 @@ local default_config = { -- Any messages above this level will be logged. -- defaults to info - level = (config.doom.logging == nil and 'info' or config.doom.logging), + level = (doom_config.doom.logging == nil and 'info' or doom_config.doom.logging), -- Level configuration modes = {