summaryrefslogtreecommitdiff
path: root/meta/template/utf8.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-17 10:11:15 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-17 10:11:15 +0800
commit8ee748f3d885bcdcbfbd530a570c500adcb04351 (patch)
treec11ed402033ad6f8e044e4d20d090517836b43e2 /meta/template/utf8.lua
parent04e29e9d527beef498ee2ceedfedfa5111862942 (diff)
downloadlua-language-server-8ee748f3d885bcdcbfbd530a570c500adcb04351.zip
更新
Diffstat (limited to 'meta/template/utf8.lua')
-rw-r--r--meta/template/utf8.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/template/utf8.lua b/meta/template/utf8.lua
index 4bcbed59..52bea1cc 100644
--- a/meta/template/utf8.lua
+++ b/meta/template/utf8.lua
@@ -1,6 +1,7 @@
---@meta
---@class utf8
+---@field charpattern string
utf8 = {}
---@param code integer
@@ -8,8 +9,6 @@ utf8 = {}
---@return string
function utf8.char(code, ...) end
-utf8.charpattern = '[\0-\x7F\xC2-\xF4][\x80-\xBF]*'
-
---@param s string
---@param lax boolean?
---@return fun():integer, integer