[Header] Remove unnecessary import
This commit is contained in:
@@ -27,7 +27,6 @@ return {
|
|||||||
autocmd("BufWritePre", {
|
autocmd("BufWritePre", {
|
||||||
pattern = "*",
|
pattern = "*",
|
||||||
callback = function()
|
callback = function()
|
||||||
local header = require("header")
|
|
||||||
if header and header.update_date_modified then
|
if header and header.update_date_modified then
|
||||||
header.update_date_modified()
|
header.update_date_modified()
|
||||||
else
|
else
|
||||||
@@ -41,7 +40,6 @@ return {
|
|||||||
autocmd({ "BufNewFile", "BufReadPost" }, {
|
autocmd({ "BufNewFile", "BufReadPost" }, {
|
||||||
pattern = "*",
|
pattern = "*",
|
||||||
callback = function()
|
callback = function()
|
||||||
local header = require("header")
|
|
||||||
if not header then
|
if not header then
|
||||||
vim.notify_once(
|
vim.notify_once(
|
||||||
"Could not automatically add header to new file: header module couldn't be found",
|
"Could not automatically add header to new file: header module couldn't be found",
|
||||||
|
|||||||
Reference in New Issue
Block a user