[Header] Remove unnecessary import

This commit is contained in:
2025-10-23 17:42:20 +02:00
parent 7ab0fc27c8
commit 3f6ad02d25

View File

@@ -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",