summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-08 03:46:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-08 03:46:24 +0800
commit650cd7ecfe16e7d4976d64849c044860577493f3 (patch)
tree22bcb08973b2e9756f8d6e92324b25fd30d173bc
parent6dfa22e6ab45296785fd3a164f9a131e1094879e (diff)
downloadlua-language-server-650cd7ecfe16e7d4976d64849c044860577493f3.zip
fix
-rw-r--r--script/proto/proto.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/proto/proto.lua b/script/proto/proto.lua
index d245ab65..024b17e5 100644
--- a/script/proto/proto.lua
+++ b/script/proto/proto.lua
@@ -132,7 +132,8 @@ local secretOption = {
process = function (item, path)
if path[1] == 'params'
and path[2] == 'textDocument'
- and path[3] == nil then
+ and path[3] == 'text'
+ and path[4] == nil then
return '"***"'
end
return item