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-lsp doesn't start because of errors #400

Open
lucax88x opened this issue Mar 3, 2024 · 5 comments
Open

ruff-lsp doesn't start because of errors #400

lucax88x opened this issue Mar 3, 2024 · 5 comments
Labels
question Further information is requested vim Related to the Neo(Vim) editor

Comments

@lucax88x
Copy link

lucax88x commented Mar 3, 2024

I was just playing with ruff to see how it performs, but I cannot make it work.

here you find the gist with logs.

ruff should be version > 0.3.0

The only thing I can understand is that it doesn't like the kind of the completion (15, snippet).

but I cannot find anybody having the same issue.

Here you can find my cmp if it can helps.

@dhruvmanila
Copy link
Member

I might be misunderstanding what exactly is the issue here but ruff-lsp isn't capable of providing auto-completions. Currently, it can only provide diagnostics, code actions, and formatting capabilities.

Can you provide some more details on what are you trying to achieve along with your setup?

@dhruvmanila dhruvmanila added the question Further information is requested label Mar 5, 2024
@lucax88x
Copy link
Author

lucax88x commented Mar 8, 2024

Sorry for being late.

I'm confused, I've only followed your Readme and setupped this with nvim-lspconfig as suggested.

Nothing else, I'm doing something wrong?

@dhruvmanila dhruvmanila added the vim Related to the Neo(Vim) editor label Mar 25, 2024
@dhruvmanila
Copy link
Member

I don't know if there's any problem in your config.

Can you provide a minimal setup where you can reproduce this? I see that you're using lazy.nvim, so you can use the template as a starting point (it's in the "Repro" section).

Can you also share the output of vim.lsp.get_clients({name = 'ruff_lsp'}) ?

@neolooong
Copy link

neolooong commented Apr 30, 2024

Facing the same issue yesterday. This is related to the issue.

I use neovim nightly version.

@neolooong
Copy link

neolooong commented May 1, 2024

After I updated neovim to the latest version, the error no longer occurs. This error only occurs on specific commits and can be resolved by updating neovim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested vim Related to the Neo(Vim) editor
Projects
None yet
Development

No branches or pull requests

3 participants