Skip to content

Recurring errors with place_virtual_text and place_signs functions #1583

Open
@dargor

Description

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 ;)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions