We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da8bcec commit eabff06Copy full SHA for eabff06
lua/telescope-orgmode/utils.lua
@@ -22,8 +22,7 @@ utils.get_entries = function(opts)
22
23
local results = {}
24
for _, file_entry in ipairs(file_results) do
25
- local agenda_file = orgmode.load(file_entry.filename)
26
- for _, headline in ipairs(agenda_file.headlines) do
+ for _, headline in ipairs(file_entry.file.headlines) do
27
28
local allowed_depth = opts.max_depth == nil or headline.level <= opts.max_depth
29
local allowed_archive = opts.archived or not headline.is_archived
0 commit comments