vim-lsp
vim-lsp copied to clipboard
Invalid arguments, 83_place_highlights
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
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.
I'm also encountering this same issue, any ideas what is going on here?
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.
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]..
line 16:
E474: Invalid argument
This issue looks like a duplicate of the issue fixed by : https://github.com/prabirshrestha/vim-lsp/pull/1481
Closing as fixed. Please ping if you are still having issues.