mirror of
https://github.com/Ascyii/nvim.git
synced 2026-01-01 04:04:24 -05:00
Full refactor of codebase and usage of lazyvim opts setting. Also split code in custom plugins
This commit is contained in:
@@ -22,6 +22,9 @@ M.open_today = function()
|
||||
-- If the file does not exist, create and write the header
|
||||
local header = string.format("# Journal Entry - [[date:%s]]\n\n", os.date("%d.%m.%y"))
|
||||
file = io.open(full_path, "w")
|
||||
if file == nil then
|
||||
return
|
||||
end
|
||||
file:write(header)
|
||||
file:close()
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user