vim-lsp icon indicating copy to clipboard operation
vim-lsp copied to clipboard

Invalid arguments, 83_place_highlights

Open DanielViberg opened this issue 1 year ago • 5 comments

Running: intelephense: running VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Mar 23 2023 11:08:11)

Error detected while processing function <SNR>76_debounceTimeTimerCallback[1]..<SNR>76_tapSourceCallback[4]..<SNR>76_tapSourceCallback[1]..<lambda>38[1]..<SNR>83_set_highlights[10]..<SNR>83_place_highlights:
line   59:
E684: List index out of range: 0
Error detected while processing function <SNR>76_debounceTimeTimerCallback[1]..<SNR>76_tapSourceCallback[4]..<SNR>76_tapSourceCallback[1]..<lambda>38[1]..<SNR>83_set_highlights[10]..<SNR>83_place_highlights:
line   59:
E116: Invalid arguments for function strlen(getbufline(a:bufnr, l:line, l:line)[0]) + 1

DanielViberg avatar Apr 04 '23 08:04 DanielViberg

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 18 '23 04:06 stale[bot]

I'm also encountering this same issue, any ideas what is going on here?

sullivan-sean avatar Aug 18 '23 04:08 sullivan-sean

I am encountering this issue as soon as I open a *.norg file. Once I encounter this issue I start seeing this message in other files where it was not showing up (before the first occurence).

I'm using latest nightly build of neovim.

jbarik avatar Sep 27 '23 12:09 jbarik

For the norg file I got around the issue by adding 'norg' file to the blocklist during lsp registration.

However now I see the issue the moment I open a xml file and I can't find a way to get around the issue. Even after adding xml to blocklist the issue persists. The message keeps popping up everytime I get into 'normal' mode in any file I open.

The error message I see is: Error detected while processing function <SNR>102_debounceTimeTimerCallback[1]..<SNR>102_tapSourceCallback[4]..<SNR>102_tapSourceCallback[1]..25[1]..<SNR>122_set_signs[10]..<SN R>122_place_signs:
line 16:
E474: Invalid argument

jbarik avatar Oct 06 '23 08:10 jbarik

This issue looks like a duplicate of the issue fixed by : https://github.com/prabirshrestha/vim-lsp/pull/1481

jbarik avatar Oct 09 '23 10:10 jbarik

Closing as fixed. Please ping if you are still having issues.

prabirshrestha avatar Feb 25 '24 11:02 prabirshrestha