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

Recurring errors with place_virtual_text and place_signs functions #1583

Open
dargor opened this issue Nov 10, 2024 · 0 comments
Open

Recurring errors with place_virtual_text and place_signs functions #1583

dargor opened this issue Nov 10, 2024 · 0 comments

Comments

@dargor
Copy link
Contributor

dargor commented Nov 10, 2024

I use pylsp and sometimes when browsing via (lsp-definition) and ^t I encounter the two following errors that loop once triggered, forcing me to quit vim to get rid of them.

Error detected while processing function <SNR>47_debounceTimeTimerCallback[1]..<SNR>47_tapSourceCallback[4]..<SNR>47_tapSourceCallback[1]..<lambda>41[1]..<SNR>66_set_virtual_text[20]..<SNR>66_place_virtual_text:
line   22:
E16: Invalid range
Press ENTER or type command to continue
Error detected while processing function <SNR>47_debounceTimeTimerCallback[1]..<SNR>47_tapSourceCallback[4]..<SNR>47_tapSourceCallback[1]..<lambda>41[1]..<SNR>66_set_virtual_text[20]..<SNR>66_place_virtual_text[22]..<SNR>47_debounceTimeTimerCallback[1]..<SNR>47_tapSourceCallback[4]..<SNR>47_tapSourceCallback[1]..<lambda>34[1]..<SNR>65_set_signs[10]..<SNR>65_place_signs:
line   16:
E474: Invalid argument
Press ENTER or type command to continue

I have not found a way to reliably reproduce these errors, they seem to appear randomly.

Here is my vim-lsp configuration, if needed.

My vim version :

VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Oct 22 2024 20:01:46)
macOS version - arm64
Included patches: 1-800
Compiled by Homebrew
Huge version without GUI.

And my vim-lsp version :

* master 04428c9 Improve checking for 'completionProvider' (#1574)

Not related to this issue, but while I'm here I would like to thank you for this plugin ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant