summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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