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

fix: guard against optional client capabilities #602

Merged
merged 1 commit into from
Sep 12, 2022

Conversation

merrickluo
Copy link
Contributor

for lsp client like lsp-mode for emacs which doesn't have colorProvider, server is failing to start, and according to the specification, the capabilities here is all optional, so we should guard the nil situation.

for client like lsp-mode for emacs which doesn't have colorProvider,
server is failing to start, and according to the specification, the
capabilities here is all optional, so we should guard the nil situation.
@takueof
Copy link

takueof commented Sep 12, 2022

Hello @bradlc and other contributors, I am one of the people who is very troubled by this problem.
See merrickluo/lsp-tailwindcss#44 for previous discussion.
Thank you.

@bradlc
Copy link
Contributor

bradlc commented Sep 12, 2022

Thank you!

@bradlc bradlc merged commit d32e11f into tailwindlabs:master Sep 12, 2022
@merrickluo merrickluo deleted the fix/optional-capabilities branch September 12, 2022 13:19
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.

None yet

3 participants