-
Notifications
You must be signed in to change notification settings - Fork 0
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
LSP-Stylelint Blocking LSP-CSS autocompletions #11
Comments
Adding "priority_selector": "source.xxx" in LSP-stylelint settings seems to fix this but I'll leave the issue open for the moment as this is a hack, and I'm not sure how permanent this solution is. |
I'm honestly not sure what a proper fix would be and where it should be made. Since it's a problem with a conflict between two similar servers I'm not sure whether the choice of which one is more important should be made by the user or we should explicitly set empty |
We should probably send the completion request to all servers who have the completionProvider capability, await the results, parse them and combine them to a Sublime.CompletionList. (keeping in mind that one sever might return a list and another server might return an object that has If for example there are more servers, as log as there is one server that returns isIncomplete true, sublime.DYNAMIC_COMPLETIONS flag should be set, which would lead that we send completion request to other servers unnecessarily, but that depends on the implementation... But I would do the most simple implementation(the one that would send request unnecessarily to other servers) and assume that the user wont have more than 3 language servers that have the completionProvider enabled. 🙂 |
Hi
I'm using LSP-CSS for autocompletions and LSP-Stylelint for linting. However, when I enable LSP it immediately blocks LSP-CSS from autocompleting. When I disable Stylelint it LSP-CSS works again. Can you advise how to make these two LSPs work well together?
Thanks in advance.
The text was updated successfully, but these errors were encountered: