neorg 8.2.0 adds the field username for metagen

- https://github.com/nvim-neorg/neorg/pull/1331
This commit is contained in:
2024-03-27 00:43:34 +01:00
parent 7415689345
commit 74f17dbb59
2 changed files with 3 additions and 8 deletions

View File

@ -64,14 +64,9 @@ neorg.setup {
},
["core.esupports.metagen"] = {
config = {
author = "Chouhartem",
type = "empty",
},
},
}
}
-- Use custom name for the author field in metadata instead of the system
-- username
neorg.utils.get_username = function()
return "Chouhartem"
end