summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-03-01 15:59:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-03-01 15:59:53 +0800
commitc9841388c2db3875177eb48d656b33b86230d7de (patch)
tree19f596a62bdaccc6b62ed6397e6034714c9ec9e1 /script
parentabdc9d51c4dc8be3b5910f9dbc9fb2c73d280f45 (diff)
downloadlua-language-server-c9841388c2db3875177eb48d656b33b86230d7de.zip
update `occlusionPath`
Diffstat (limited to 'script')
-rw-r--r--script/service/telemetry.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/service/telemetry.lua b/script/service/telemetry.lua
index 2d956ed0..d975a986 100644
--- a/script/service/telemetry.lua
+++ b/script/service/telemetry.lua
@@ -60,7 +60,7 @@ local function pushVersion(link)
end
local function occlusionPath(str)
- return str:gsub('(%s*)([^:"\'\r\n]+)', function (left, chunk)
+ return str:gsub('(%s*)([^:"\'%<%[%]\r\n]+)', function (left, chunk)
if not chunk:find '[/\\]' then
return
end