[Header] Remove unnecessary import
This commit is contained in:
		| @@ -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