summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
authorCppCXY <812125110@qq.com>2021-10-28 15:23:18 +0800
committerCppCXY <812125110@qq.com>2021-10-28 15:23:18 +0800
commitbd95a2e9c415ea6d40035880c5237f5aebef259e (patch)
tree92953bd33b75aa528f0ec22c5b61a94f9ff87d62 /script/provider
parente8d21d0fdc7766d9e1b718553372880051edcc77 (diff)
downloadlua-language-server-bd95a2e9c415ea6d40035880c5237f5aebef259e.zip
修改错误
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 39f9aae7..c005747a 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -815,7 +815,7 @@ proto.on('textDocument/formatting', function (params)
local results = {
{
range = converter.packRange(uri, result.start, result.finish),
- newText = result.formattedText,
+ newText = result.formatedText,
}
}
return results