summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-23 17:31:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-23 17:31:41 +0800
commit476be8f94aaea078fd29550ae768e46b58f7d4e2 (patch)
treee854f9ef78451aefd1973fffe0f5616161be562c /script/core
parent79a72eb5ef235b8d8272e06855f9817e85a36c78 (diff)
downloadlua-language-server-476be8f94aaea078fd29550ae768e46b58f7d4e2.zip
clean up code
Diffstat (limited to 'script/core')
-rw-r--r--script/core/code-action.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/code-action.lua b/script/core/code-action.lua
index 69304f98..cd5f2f80 100644
--- a/script/core/code-action.lua
+++ b/script/core/code-action.lua
@@ -253,7 +253,7 @@ local function solveDiagnostic(uri, diag, results)
disableDiagnostic(uri, diag.code, results)
end
-return function (uri, range, diagnostics)
+return function (uri, start, finish, diagnostics)
local ast = files.getAst(uri)
if not ast then
return nil