Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix: return empty response to textDocument/completion if completion disabled #3144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
sumneko merged 3 commits into LuaLS:master from jllv:check_completion_setting
Apr 5, 2025

Conversation

Copy link
Contributor

@jllv jllv commented Mar 30, 2025
edited
Loading

In some cases it could happen that textDocument/completion requests are fulfilled despite Lua.completion.enable being set to false. This was due to a missing check of the actually value of the config before starting the calculation of all completion items.

Copy link
Contributor Author

jllv commented Mar 30, 2025

This PR attempts to solve this issue: #3137

Copy link
Collaborator

sumneko commented Apr 5, 2025

Thank you!

jllv reacted with thumbs up emoji

@sumneko sumneko merged commit 9ebaa0d into LuaLS:master Apr 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /