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

Add server path configuration option to the VSCode extension #897

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

cswimr
Copy link

@cswimr cswimr commented Jan 11, 2025

This PR adds a configuration value (luau-lsp.serverPath) to the VSCode extension that lets you change the path of the Luau LSP server binary. This is useful for platforms like NixOS, where the included binary doesn't work by default. This hasn't been tested yet.

@cswimr
Copy link
Author

cswimr commented Jan 11, 2025

Update: I've tested this and it works great!

editors/code/package.json Outdated Show resolved Hide resolved
editors/code/src/extension.ts Outdated Show resolved Hide resolved
@cswimr
Copy link
Author

cswimr commented Jan 12, 2025

Marking this as a draft until I clean up the nixos files

@cswimr cswimr marked this pull request as draft January 12, 2025 15:02
@cswimr
Copy link
Author

cswimr commented Jan 13, 2025

Accidentally did a merge, so I'm gonna condense my changes into a single commit and force push

@cswimr cswimr force-pushed the add-server-path-configuration-option branch from 1a8ba5f to f1e7a8d Compare January 13, 2025 21:07
@cswimr cswimr marked this pull request as ready for review January 13, 2025 21:08
@cswimr cswimr requested a review from JohnnyMorganz January 13, 2025 21:08
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.

2 participants