[Header] Remove unnecessary import
This commit is contained in:
1 parent
7ab0fc27c8
commit
3f6ad02d25
1 file changed
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user