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

breakindent (vim.opt.breakindent) breaks indent-blankline since 9433822 #816

Closed
GotaLoveFiraCode opened this issue Jan 1, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@GotaLoveFiraCode
Copy link

GotaLoveFiraCode commented Jan 1, 2024

Problem

Errors at basically every event (BufReadPost, CursorMoved, etc.): invalid key: virt_text_repeat_linebreak.

Steps to reproduce

vim.opt.bri = true. Then start doing stuff in files with indentation.

Expected behavior

No errors. This can be fixed by using commits prior to 9433822.

Neovim version (nvim -v)

NVIM v0.10.0-dev-1750+ge5d7003b0 Build type: Release LuaJIT 2.1.1700008891 Run "nvim -V1 -v" for more info

@GotaLoveFiraCode GotaLoveFiraCode added the bug Something isn't working label Jan 1, 2024
@rudimusmaximus
Copy link

Thanks for great plugin. Just a note, I had to go back a few as follows for workaround.
indent-blankline.nvim 1.46ms  start
dir /Users/rudimusmaximus/.local/share/nvim-config/lazy/indent-blankline.nvim
url https://github.com/lukas-reineke/indent-blankline.nvim
version 3.4.1
tag v3.4.1
branch master
commit 3084950
readme README.md
help |indent-blankline.txt|

@Danielkonge
Copy link
Contributor

I think the current code just checks if you are using neovim 0.9.x or 0.10 when checking if virt_text_repeat_linebreak is available, but virt_text_repeat_linebreak only got added to neovim 0.10 a bit more than a week ago, so you need a neovim version from within the last week (approximately) if you are on neovim 0.10. If you are using a 0.9.x there shouldn't be any problems. I think your current neovim 0.10 version is too old.

@lukas-reineke
Copy link
Owner

lukas-reineke commented Jan 2, 2024

Duplicate of #813

@lukas-reineke lukas-reineke marked this as a duplicate of #812 Jan 2, 2024
@lukas-reineke lukas-reineke marked this as a duplicate of #813 Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants