We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c3334eb + b95cc88 commit 9ebaa0dCopy full SHA for 9ebaa0d
changelog.md
@@ -5,6 +5,7 @@
5
* `NEW` `unnecessary-assert` diagnostic warns when asserting values that are always truthy
6
* `NEW` locale `es-419`, thanks [Felipe Lema](https://codeberg.org/FelipeLema)
7
* `FIX` prevent unnecessary edits by LSP formatting when content did not change
8
+* `FIX` return no completions if completion is disabled
9
10
## 3.13.9
11
`2025-3-13`
script/provider/provider.lua
@@ -618,6 +618,9 @@ m.register 'textDocument/completion' {
618
---@async
619
function (params)
620
local uri = files.getRealUri(params.textDocument.uri)
621
+ if not config.get(uri, 'Lua.completion.enable') then
622
+ return
623
+ end
624
if not workspace.isReady(uri) then
625
return nil
626
end
0 commit comments