summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-04-27 10:48:42 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-04-27 10:48:42 +0800
commiteeffd1462b892fda5d01282acf840ba0e154e467 (patch)
tree2d6e63b30c7f41f4ad0f4b6366a2e22bb44e060f /script/provider
parent1fc3fe755cfe9d21b87f5e7a4facc2255251b519 (diff)
downloadlua-language-server-eeffd1462b892fda5d01282acf840ba0e154e467.zip
fix typo
#2062
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/provider.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index ceabefea..efa627c3 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -293,7 +293,7 @@ m.register 'textDocument/didChange' {
---@async
function (params)
local doc = params.textDocument
- local changes = params.contentChange
+ local changes = params.contentChanges
local uri = files.getRealUri(doc.uri)
local text = files.getOriginText(uri)
if not text then