Skip to content

ruff server: fix Neovim setup guide command#11021

Merged
dhruvmanila merged 1 commit intoastral-sh:mainfrom
MithicSpirit:nvim-lsp-setup
Apr 19, 2024
Merged

ruff server: fix Neovim setup guide command#11021
dhruvmanila merged 1 commit intoastral-sh:mainfrom
MithicSpirit:nvim-lsp-setup

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
@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.

3 participants