Skip to content

Commit

Permalink
fix: fix autocomplete for tags search prompt (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
hasansujon786 authored Oct 9, 2024
1 parent 8ead368 commit a38f5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/orgmode/agenda/views/tags.lua
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ end

function AgendaTagsView:build()
local tags = vim.fn.OrgmodeInput('Match: ', self.search, function(arg_lead)
utils.prompt_autocomplete(arg_lead, self.files:get_tags())
return utils.prompt_autocomplete(arg_lead, self.files:get_tags())
end)
if vim.trim(tags) == '' then
return utils.echo_warning('Invalid tag.')
Expand Down

0 comments on commit a38f5c4

Please sign in to comment.