Adding ldoc readonly tag text in the extra_summary list
This commit is contained in:
parent
899f9c8879
commit
486fd3744f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue