Skip to content

Commit b6dcfe5

Browse files
chore(links): deprecate old link class
1 parent cf97218 commit b6dcfe5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lua/orgmode/org/hyperlinks/link.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ local Link = {}
99

1010
local pattern = '%[%[([^%]]+.-)%]%]'
1111

12+
---@deprecated Use OrgHyperlink instead ('orgmode.org.links.hyperlink')
1213
---@param str string
1314
---@param range? OrgRange
1415
---@return OrgLink
@@ -30,6 +31,7 @@ function Link:to_str()
3031
end
3132
end
3233

34+
---@deprecated Use OrgHyperlink instead ('orgmode.org.links.hyperlink')
3335
---@param line string
3436
---@param pos number
3537
---@return OrgLink | nil, table | nil

0 commit comments

Comments
 (0)