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

Don't attach LSP to syntax test files #2531

Merged
merged 2 commits into from
Oct 26, 2024

Conversation

jwortmann
Copy link
Member

Closes #2504

Maybe having this check in is_regular_view is not really accurate (regarding the function name), but I think it is the best place for reusability.

@jwortmann
Copy link
Member Author

@jfcherng

Only very few ones (e.g., LSP-copilot) will work well.

Merging this PR would of course also prevent LSP-copilot to run on syntax test files. I don't know how useful LSP-Copilot is for those files; but since you were the one who opened the linked issue, I assume that you are okay with it?

@jfcherng
Copy link
Contributor

jfcherng commented Oct 15, 2024

Merging this PR would of course also prevent LSP-copilot to run on syntax test files. I don't know how useful LSP-Copilot is for those files; but since you were the one who opened the linked issue, I assume that you are okay with it?

I even hardly write syntax test :D

@rchl rchl merged commit a3dec7c into sublimelsp:main Oct 26, 2024
8 checks passed
@jwortmann jwortmann deleted the ignore-syntax-test-files branch October 26, 2024 16:01
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.

Disable language server for syntax test files by default
3 participants