diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-04-22 03:22:29 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-04-22 03:22:29 +0800 |
commit | 4c6375fea56e5362afc8eef1a4d32ebbe64c7391 (patch) | |
tree | d17d9d169d6b0664eeda8fe20bf45a9ced3e6bbb /meta/template | |
parent | 7881d1a3d91b59d2dd8c28a72453e0e6c44a902f (diff) | |
download | lua-language-server-4c6375fea56e5362afc8eef1a4d32ebbe64c7391.zip |
update doc of `utf8.codes`
Diffstat (limited to 'meta/template')
-rw-r--r-- | meta/template/utf8.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/utf8.lua b/meta/template/utf8.lua index bd474710..a00a3238 100644 --- a/meta/template/utf8.lua +++ b/meta/template/utf8.lua @@ -18,12 +18,12 @@ function utf8.char(code, ...) end ---#DES 'utf8.codes' ---#if VERSION <= 5.3 then ---@param s string ----@return fun():integer, integer +---@return fun(s: string, p: integer):integer, integer function utf8.codes(s) end ---#else ---@param s string ---@param lax? boolean ----@return fun():integer, integer +---@return fun(s: string, p: integer):integer, integer function utf8.codes(s, lax) end ---#end |