Skip to content

Commit e90e710

Browse files
author
troiganto
committed
fix(tags): don't exclude own tags if tag inheritance is disabled
1 parent 25b2280 commit e90e710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/orgmode/files/headline.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ memoize('get_tags')
576576
function Headline:get_tags()
577577
local tags, own_tags_node = self:get_own_tags()
578578
if not config.org_use_tag_inheritance then
579-
return config:exclude_tags(tags), own_tags_node
579+
return tags, own_tags_node
580580
end
581581

582582
local parent_tags = {}

0 commit comments

Comments
 (0)