summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-14 22:32:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-14 22:32:31 +0800
commitbfeea5916effde22eae483a2f3b3077cbd7f6e52 (patch)
tree6b3728d7d92b1b474aeabf43808ef73624dc16cf /test/command
parent21ee5e8a7393e936f2c36d5628e2a307750f4ff5 (diff)
downloadlua-language-server-bfeea5916effde22eae483a2f3b3077cbd7f6e52.zip
`duplicate-set-field` supports cross files
Diffstat (limited to 'test/command')
-rw-r--r--test/command/auto-require.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/command/auto-require.lua b/test/command/auto-require.lua
index c55fd334..8c6a8971 100644
--- a/test/command/auto-require.lua
+++ b/test/command/auto-require.lua
@@ -12,6 +12,7 @@ assert(applyAutoRequire)
local originEditText = client.editText
local EditResult
+---@diagnostic disable-next-line: duplicate-set-field
client.editText = function (uri, edits)
EditResult = edits[1]
end