You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
andis-sprinkis
changed the title
On opening/scrolling a binary file: "vim-illuminate: An internal error has occured: false"Vim:E976: using Blob as a String"
On opening/scrolling some binary files: "vim-illuminate: An internal error has occured: false"Vim:E976: using Blob as a String"
Nov 19, 2023
Not sure how to fix this, I'll leave it open in case someone has any ideas. The error seems to be a result of string.format returning a blob which we then pass to vim.escape which is no bueno, but I'm not sure how to convert it to a string and I don't understand why string.format is even returning a blob. Looking at the Neovim source code would probably clear things up but I'm probably not going to spend a significant amount of time fixing this due to how rare it is.
Describe the bug
A clear and concise description of what the bug is.
An error message occurs on opening and scrolling through some binary files.
To Reproduce
Steps to reproduce the behavior (include minimal
init.vim
or.vimrc
):nvim test.txt
test.txt (this is a chunk of a WAV file from Wikipedia)
Config. - just vim-illuminate installed with lazy.nvim.
Note Omitting a minimal
init.vim
/init.lua
/.vimrc
will likely result in the issue being closed without explanation.Output from
:IlluminateDebug
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: