-
Notifications
You must be signed in to change notification settings - Fork 49
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
Use LSP provider if available or tree-sitter as fallback #63
Comments
TLDR; Lines 23 to 52 in 480209a
Never consider adding this example to README because I haven't seen a fallback chain for a client to request servers that I think it is fragile. edit: example is changed |
Feature description
I've seen in the examples that you can either use LSP plus regular fallback or tree-sitter plus regular fallback, but can you use LSP when available, then tree-sitter as the fallback? Some filetypes don't have such LSP support but do have tree-sitter support.
Describe the solution you'd like
Use LSP provider if available, otherwise fall back to tree-sitter provider and only if none is available, then fall back to the default one.
Additional context
No response
The text was updated successfully, but these errors were encountered: