neorg 8.2.0 adds the field username for metagen
- https://github.com/nvim-neorg/neorg/pull/1331
This commit is contained in:
parent
7415689345
commit
74f17dbb59
@ -256,7 +256,7 @@ require('lazy').setup({
|
||||
dependencies = { "luarocks.nvim" },
|
||||
lazy = false, -- Disable lazy loading as some `lazy.nvim` distributions set `lazy = true` by default
|
||||
version = "*", -- Pin Neorg to the latest stable release
|
||||
-- config = true,
|
||||
config = true,
|
||||
},
|
||||
-- vim-speeddating
|
||||
'tpope/vim-speeddating',
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user