summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
authorSewbacca <sebastian.kalus@kolabnow.com>2023-07-17 14:56:05 +0200
committerSewbacca <sebastian.kalus@kolabnow.com>2023-07-17 14:56:05 +0200
commit0c31e3027772f10f7a0b4d2e3892449018e195d8 (patch)
tree410478a2bfc2ee6fc5321e1228a80955a7dbf2c6 /script/core
parent393f3e844d5164116de8bd739fc06d76bd03439f (diff)
downloadlua-language-server-0c31e3027772f10f7a0b4d2e3892449018e195d8.zip
Added tests
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 7f59f493..e842eff3 100644
--- a/script/core/code-action.lua
+++ b/script/core/code-action.lua
@@ -703,7 +703,7 @@ local function checkMissingRequire(results, uri, start, finish)
for _, target in ipairs(findRequireTargets(visiblePaths)) do
results[#results+1] = {
- title = lang.script('ACTION_AUTOREQUIRE', global, target),
+ title = lang.script('ACTION_AUTOREQUIRE', target, global),
kind = 'refactor.rewrite',
command = {
title = 'autoRequire',