diff options
author | Sewbacca <sebastian.kalus@kolabnow.com> | 2023-07-17 15:48:21 +0200 |
---|---|---|
committer | Sewbacca <sebastian.kalus@kolabnow.com> | 2023-07-17 15:48:21 +0200 |
commit | 76315ef4d25c1e81c3e2878236d2c09da681aa95 (patch) | |
tree | 0c5a62bb8835563c1bd85ed16b26fe8dd1cbe667 /script/core | |
parent | 0c31e3027772f10f7a0b4d2e3892449018e195d8 (diff) | |
download | lua-language-server-76315ef4d25c1e81c3e2878236d2c09da681aa95.zip |
Resolve formatting
Resolve member naming
Diffstat (limited to 'script/core')
-rw-r--r-- | script/core/code-action.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/script/core/code-action.lua b/script/core/code-action.lua index e842eff3..720cd4c4 100644 --- a/script/core/code-action.lua +++ b/script/core/code-action.lua @@ -722,7 +722,8 @@ local function checkMissingRequire(results, uri, start, finish) end) end - guide.eachSourceBetween(state.ast, start, finish, function (source)if vm.isUndefinedGlobal(source) then + guide.eachSourceBetween(state.ast, start, finish, function (source) + if vm.isUndefinedGlobal(source) then addRequires(source[1], source.finish) end end) |