We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8953ee6 commit 3e394ccCopy full SHA for 3e394cc
1 file changed
lua/org-super-agenda/adapters/neovim/source_orgmode.lua
@@ -256,9 +256,12 @@ function S.collect()
256
end
257
258
for _, file in ipairs(files) do
259
+ -- Get filetags from the internal file object to pass as initial inherited tags
260
+ local filetags = file._file:get_filetags() or {}
261
+
262
for _, hl in ipairs(file.headlines or {}) do
- -- Top-level inherits nothing initially
- walk(hl, {})
263
+ -- Top-level headlines inherit filetags
264
+ walk(hl, filetags)
265
266
267
0 commit comments