feat: init

This commit is contained in:
2025-09-08 23:25:52 +02:00
commit c5da5cde6b
4 changed files with 52 additions and 0 deletions

12
lua/line-blame.lua Normal file
View File

@@ -0,0 +1,12 @@
local lineBlame = function()
// TODO: everything
local mail_blame = os.execute("git blame -e .githooks/pre-commit")
local mail_blame_awk = os.execute("git blame -e .githooks/pre-commit | awk '{ print $2 $6}'");
local test_str = "24a332e7 (<dani.heras@hotmail.com> 2025-09-08 19:42:51 +0200 39) email=$(git config user.email)"
local results = test_str:match(".*<(.*)>.* ([0-9]+)\)")
local results = test_str:match(".*<(.*)>.* ([0-9]+)\)")
end
return {
lineBlame = lineBlame,
}