You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/gitlab.nvim.txt
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -213,6 +213,7 @@ you call this function with no values the defaults will be used:
213
213
switch_view = "c", -- Toggle between the notes and discussions views
214
214
toggle_tree_type = "i", -- Toggle type of discussion tree - "simple", or "by_file_name"
215
215
publish_draft = "P", -- Publish the currently focused note/comment
216
+
toggle_date_format = "dt", -- Toggle between date formats: relative (e.g., "5 days ago", "just now", "October 13, 2024" for dates more than a month ago) and absolute (e.g., "03/01/2024 at 11:43")
216
217
toggle_draft_mode = "D", -- Toggle between draft mode (comments posted as drafts) and live mode (comments are posted immediately)
217
218
toggle_sort_method = "st", -- Toggle whether discussions are sorted by the "latest_reply", or by "original_comment", see `:h gitlab.nvim.toggle_sort_method`
218
219
toggle_node = "t", -- Open or close the discussion
@@ -267,6 +268,7 @@ you call this function with no values the defaults will be used:
267
268
draft = "✎", -- Symbol to show next to draft comments/notes
268
269
tree_type = "simple", -- Type of discussion tree - "simple" means just list of discussions, "by_file_name" means file tree with discussions under file
269
270
draft_mode = false, -- Whether comments are posted as drafts as part of a review
271
+
relative_date = true, -- Whether to show relative time like "5 days ago" or absolute time like "03/01/2025 at 01:43"
270
272
winbar = nil, -- Custom function to return winbar title, should return a string. Provided with WinbarTable (defined in annotations.lua)
271
273
-- If using lualine, please add "gitlab" to disabled file types, otherwise you will not see the winbar.
0 commit comments