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

ruff server: fix Neovim setup guide command #11021

Merged
merged 1 commit into from Apr 19, 2024

Conversation

MithicSpirit
Copy link
Contributor

Summary

Fixes the Neovim setup guide command for ruff server. Note that
lspconfig.*.setup expects a table as its first argument, even if it is empty,
as a nil value causes an error.

`lspconfig.*.setup` expects a table as its first argument, even if it
is empty. A `nil` value causes an error.
@charliermarsh
Copy link
Member

Thanks! Tagging @dhruvmanila (looks reasonable to me, but I don't know anything about NeoVim).

@dhruvmanila dhruvmanila added the documentation Improvements or additions to documentation label Apr 19, 2024
@dhruvmanila dhruvmanila merged commit 5d3c9f2 into astral-sh:main Apr 19, 2024
16 checks passed
@MithicSpirit MithicSpirit deleted the nvim-lsp-setup branch April 19, 2024 02:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants