Skip to content

pass ignore files cli options to language server #495

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

Conversation

nicpillinger
Copy link
Contributor

Ignore files options are not currently passed to the language server. It's been bugging me for a while as it means there is no way to stop the vscode plugin from formatting certain files. I presume this is because it makes more sense for the list of files to be compiled outside of the language server.

Please consider this PR as a starting point to discussion/solving this issue, thoughts welcome:
ruby-syntax-tree/vscode-syntax-tree#192

@nicpillinger nicpillinger marked this pull request as ready for review February 10, 2025 15:48
@kddnewton kddnewton closed this Jul 10, 2025
@kddnewton kddnewton reopened this Jul 10, 2025
@kddnewton
Copy link
Member

This looks right, assuming the tests pass I will merge it.

@kddnewton kddnewton force-pushed the language-server-should-support-ignore-files branch from f50d502 to 3844084 Compare July 10, 2025 21:34
@kddnewton kddnewton merged commit 0d49b6a into ruby-syntax-tree:main Jul 10, 2025
9 checks passed
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