Skip to content
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

Fix invalid slot error in Rojo command setup for Eglot 1.17 #1

Merged
merged 3 commits into from
Nov 2, 2024

Conversation

kennethloeffler
Copy link
Owner

When eglot-luau was implemented, it was done against Eglot 1.12's API. It appears the server class members have changed since then, and the :language-id field has now been replaced with a :languages field, which is a list of cons cells. This PR fixes this, and also makes two other small fixes: catching errors during FFlag updates, and not fetching Roblox version information every server connect (just the first time is enough).

@kennethloeffler kennethloeffler merged commit 3e4fbfe into main Nov 2, 2024
1 check passed
@kennethloeffler kennethloeffler deleted the fix-invalid-slot-eglot-1.17 branch November 2, 2024 19:24
@kennethloeffler kennethloeffler changed the title Fix invalid slot error in Rojo command builder for Eglot 1.17 Fix invalid slot error in Rojo command setup for Eglot 1.17 Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant