diff --git a/lua/focus/modules/autocmd.lua b/lua/focus/modules/autocmd.lua index 02340dc..e0a474c 100644 --- a/lua/focus/modules/autocmd.lua +++ b/lua/focus/modules/autocmd.lua @@ -163,6 +163,9 @@ function M.setup(config) vim.api.nvim_create_autocmd({ 'BufEnter', 'WinEnter' }, { group = augroup, callback = function(_) + if utils.is_disabled() then + return + end vim.wo.number = true vim.wo.relativenumber = true end,