diff --git a/lua/neorg/modules/core/clipboard/module.lua b/lua/neorg/modules/core/clipboard/module.lua index 182de1319..1cdd957e9 100644 --- a/lua/neorg/modules/core/clipboard/module.lua +++ b/lua/neorg/modules/core/clipboard/module.lua @@ -48,13 +48,17 @@ module.load = function() return callback.cb( node, - vim.split(register, "\n", { ---@diagnostic disable-line -- TODO: type error workaround - plain = true, - -- TODO: This causes problems in places - -- where you actually want to copy - -- newlines. - trimempty = true, - }), + vim.split( + register, + "\n", + { ---@diagnostic disable-line -- TODO: type error workaround + plain = true, + -- TODO: This causes problems in places + -- where you actually want to copy + -- newlines. + trimempty = true, + } + ), { start = range[1], ["end"] = range[2], diff --git a/lua/neorg/modules/core/tempus/module.lua b/lua/neorg/modules/core/tempus/module.lua index f7d444274..4e84671f8 100644 --- a/lua/neorg/modules/core/tempus/module.lua +++ b/lua/neorg/modules/core/tempus/module.lua @@ -225,14 +225,18 @@ module.public = { return os.date( ---@diagnostic disable-line -- TODO: type error workaround "*t", os.time( - vim.tbl_deep_extend("force", os.date("*t"), { ---@diagnostic disable-line -- TODO: type error workaround - day = parsed_date.day, - month = parsed_date.month and parsed_date.month.number or nil, - year = parsed_date.year, - hour = parsed_date.time and parsed_date.time.hour, - min = parsed_date.time and parsed_date.time.minute, - sec = parsed_date.time and parsed_date.time.second, - }) + vim.tbl_deep_extend( + "force", + os.date("*t"), + { ---@diagnostic disable-line -- TODO: type error workaround + day = parsed_date.day, + month = parsed_date.month and parsed_date.month.number or nil, + year = parsed_date.year, + hour = parsed_date.time and parsed_date.time.hour, + min = parsed_date.time and parsed_date.time.minute, + sec = parsed_date.time and parsed_date.time.second, + } + ) ) ) end, diff --git a/lua/neorg/modules/core/ui/calendar/views/monthly.lua b/lua/neorg/modules/core/ui/calendar/views/monthly.lua index de1f968bf..203107e07 100644 --- a/lua/neorg/modules/core/ui/calendar/views/monthly.lua +++ b/lua/neorg/modules/core/ui/calendar/views/monthly.lua @@ -349,15 +349,21 @@ module.private = { }, "center"), -- Help text at the bottom left of the screen - help_and_custom_input = module.private.set_decorational_extmark(ui_info, ui_info.height - 1, 0, 0, { - { "?", "@character" }, - { " - " }, - { "help", "@text.strong" }, - { " " }, - { "i", "@character" }, - { " - " }, - { "custom input", "@text.strong" }, - }), + help_and_custom_input = module.private.set_decorational_extmark( + ui_info, + ui_info.height - 1, + 0, + 0, + { + { "?", "@character" }, + { " - " }, + { "help", "@text.strong" }, + { " " }, + { "i", "@character" }, + { " - " }, + { "custom input", "@text.strong" }, + } + ), -- The current view (bottom right of the screen) current_view = module.private.set_decorational_extmark(