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 3cee776 commit 3736ea6Copy full SHA for 3736ea6
lua/orgmode/parser/section.lua
@@ -48,7 +48,7 @@ function Section:new(data)
48
section.todo_keyword = { value = '', type = '', node = data.todo_keyword_node }
49
section.priority = data.priority
50
section.title = data.title
51
- section.category = data.properties.items.category or data.root.category
+ section.category = data.properties.items.category or (data.parent and data.parent.category) or data.root.category
52
section.file = data.root.filename or ''
53
section.dates = data.dates or {}
54
section.properties = data.properties
0 commit comments