astral-sh / ruff-lsp

A Language Server Protocol implementation for Ruff.
Other
1.33k stars 46 forks source link

auto completion is not working in doom emacs #483

Open ovnicraft opened 2 months ago

ovnicraft commented 2 months ago

config:

doomemacs config:

tools: lsp

(python +lsp)

while typing mini buffer returns following error:

GNU Emacs 29.4 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0) of 2024-07-16
Error running timer ‘corfu--auto-complete-deferred’: (error "The connected server(s) does not support method textDocument/completion.
dhruvmanila commented 2 months ago

(I'm not familiar with Emacs nor Doom Emacs.)

The Ruff language server doesn't provide the capability to provide completion which is why, I think, the client is throwing an error. Although, I'm not sure why it's throwing an error. It might be useful to open an issue upstream.