Skip to content

Commit

Permalink
fix(agenda): Use custom header for tags and tags_todo agenda if provided
Browse files Browse the repository at this point in the history
Fixes #853
  • Loading branch information
kristijanhusak committed Jan 16, 2025
1 parent 1e97173 commit 9a3f009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/orgmode/agenda/types/tags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function OrgAgendaTagsType:new(opts)
obj.match_query = match_query or ''
obj.todo_ignore_deadlines = opts.todo_ignore_deadlines
obj.todo_ignore_scheduled = opts.todo_ignore_scheduled
obj.header = 'Headlines with TAGS match: ' .. obj.match_query
obj.header = opts.header or ('Headlines with TAGS match: ' .. obj.match_query)
return obj
end

Expand Down

0 comments on commit 9a3f009

Please sign in to comment.