Adding ldoc readonly tag text in the extra_summary list

This commit is contained in:
Sergey 2021-10-26 18:26:45 -04:00
parent 899f9c8879
commit 486fd3744f

View file

@ -643,6 +643,9 @@ local function generate_summary(item)
has_show_more = v.showcount or has_show_more
end
end
if item.tags.readonly then
ret[#ret+1] = {title = "read only"}
end
item.extra_summary = #ret > 0 and ret or nil
item.has_show_more = has_show_more