-
Notifications
You must be signed in to change notification settings - Fork 464
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
no fidget progress for pylsp #817
Comments
We need more information to know what exactly happened: First clean lsp logs: truncate -c -s 0 ~/.local/state/nvim/lsp.log Then add this line to the bottom of vim.lsp.set_log_level(vim.log.levels.TRACE) Send context(s) related to |
IMO It's not a bug. |
Hmm that's right, I can see progress after enable other plugins. But how to distinguish whether it's because black and ruff are too fast or they don't support progress? |
@fecet Check |
I can see strings like "window/workDoneProgress/create" if enable flake8. Otherwise,
so I guss that's indicate that ruff and black doesn't support progress? |
To streamline the message: .../lua/vim/lsp.lua:1428 "LSP[pylsp]" "initialize_params" { ... workDoneProgress = true ... }, So ys
Not really, this is actually b/c we have blocked messages emitted by nvimdots/lua/modules/configs/ui/fidget.lua Lines 4 to 6 in f1125a9
We made this decision b/c null-ls would continuously (and uncontrollably) generate a large amount of irrelevant messages (e.g., starting document diagnosis, publishing document diagnosis, finished, etc.). |
we don't use null-ls in python, ruff and black are integrated in pylsp as plugins |
Oh sorry about this - I forgot |
@fecet is it gd to close this issue now? |
Version confirmation
Following prerequisites
Neovim version
NVIM v0.10.0-dev-546+g3bf887f6e0
Operating system/version
Arch
Terminal name/version
alacritty
$TERM environment variable
No response
Branch info
main (Default/Latest)
Fetch Preferences
HTTPS (use_ssh = false)
Affected language servers
pylsp
How to reproduce the issue
open any python file
Actual behavior
no progress
Expected behavior
No response
Support info
Language client log: /home/rok/.local/state/nvim/lsp.log
Detected filetype: python
1 client(s) attached to this buffer:
Client: pylsp (id: 1, bufnr: [1])
filetypes: python
autostart: true
root directory: /home/rok/Nutstore Files/codes/tlem
cmd: /home/rok/.local/share/nvim/mason/bin/pylsp
Configured servers list: html, jsonls, pylsp, lua_ls, clangd, bashls
Installed
bash-language-server bashls
clang-format
clangd
html-lsp html
json-lsp jsonls
lua-language-server lua_ls
prettier
python-lsp-server pylsp
rustfmt
shfmt
stylua
vint
Logs
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: