docs(lua): use luaref tag instead of www.lua.org #21813

This commit is contained in:
Naru
2023-01-16 06:32:23 +09:00
committed by GitHub
parent 69c71c4ab4
commit 34b973b1d9
2 changed files with 5 additions and 2 deletions

View File

@@ -60,6 +60,7 @@ end)()
--- Splits a string at each instance of a separator.
---
---@see |vim.split()|
---@see |luaref-patterns|
---@see https://www.lua.org/pil/20.2.html
---@see http://lua-users.org/wiki/StringLibraryTutorial
---
@@ -529,6 +530,7 @@ end
--- Trim whitespace (Lua pattern "%s") from both sides of a string.
---
---@see |luaref-patterns|
---@see https://www.lua.org/pil/20.2.html
---@param s string String to trim
---@return string String with whitespace removed from its beginning and end