Skip to content

Commit

Permalink
fix(hop): assume <current-day> when some parameters to dates are not …
Browse files Browse the repository at this point in the history
…supplied
  • Loading branch information
vhyrro committed May 15, 2023
1 parent 22b12fb commit 65bf064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/neorg/modules/core/esupports/hop/module.lua
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ module.public = {
end

calendar.select_date({
date = tempus.to_lua_date(parsed_date),
date = vim.tbl_deep_extend("force", os.date("*t"), tempus.to_lua_date(parsed_date)),
callback = function(input)
local start_row, start_col, end_row, end_col = parsed_link_information.link_node:range()
vim.api.nvim_buf_set_text(
Expand Down

0 comments on commit 65bf064

Please sign in to comment.