diff --git a/nvim/lua/plugins/util/header.lua b/nvim/lua/plugins/util/header.lua index 8c7ea14..14c9cf6 100644 --- a/nvim/lua/plugins/util/header.lua +++ b/nvim/lua/plugins/util/header.lua @@ -27,7 +27,6 @@ return { autocmd("BufWritePre", { pattern = "*", callback = function() - local header = require("header") if header and header.update_date_modified then header.update_date_modified() else @@ -41,7 +40,6 @@ return { autocmd({ "BufNewFile", "BufReadPost" }, { pattern = "*", callback = function() - local header = require("header") if not header then vim.notify_once( "Could not automatically add header to new file: header module couldn't be found",