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
When joining a highlighted line longer than the softwrap length, this error starts getting thrown. It is is then thrown on every keypress within a Neorg buffer until I restart Neovim.
┊ Error 10:08:02 msg_show.emsg Noice last Error in decoration provider treesitter/highlighter.line:
Error executing lua: ...84/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:337: Invalid 'end_col': out of range
stack traceback:
[C]: in function 'nvim_buf_set_extmark'
...84/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:337: in function 'fn'
...84/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:210: in function 'for_each_highlight_state'
...84/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:291: in function 'on_line_impl'
...84/share/nvim/runtime/lua/vim/treesitter/highlighter.lua:367: in function <...84/share/nvim/runtime/lua/vim/treesi
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
.../share/nvim/lazy/nvim-notify/lua/notify/service/init.lua:63: in function 'push'
...ocal/share/nvim/lazy/nvim-notify/lua/notify/instance.lua:77: in function <...ocal/share/nvim/lazy/nvim-notify/lua/
...e/nvim/lazy/noice.nvim/lua/noice/view/backend/notify.lua:169: in fun
Expected behavior
It should not do that.
Steps to reproduce
In an empty neorg file type a sentence longer than the softwrap like (80 cols) - if it autowraps, press "J" to join with the previous line. There is no error.
Break the line so that it is shorter than the softwrap length.
Press "*" at the beginning of the first line so that it highlights as a headline.
Press "J" to join with the next line.
The error will be thrown many times. Breaking the line again will not supress it. (It's possible it does, and I just don't have the patience to hit enter enough to times to get through all of the times it's thrown - but Neovim is effectively unusable until it's restarted.)
Potentially conflicting plugins
nvim-treesitter I guess?
Other information
No response
Help
Yes, but I don't know how to start. I would need guidance (check question below)
Implementation help
No response
The text was updated successfully, but these errors were encountered:
stephenprater
added
the
bug
Issues related to bugs. Please attach a severity, a priority and category with this label.
label
Apr 25, 2024
@stephenprater can you still reproduce this on the latest nightly? I no longer see it. I lied. That simple repro doesn't work, but with more complex examples it still happens to me.
Prerequisites
Neovim Version
NVIM v0.10.0-dev-3005+gaf8500af6-Homebrew
Neorg setup
Actual behavior
When joining a highlighted line longer than the softwrap length, this error starts getting thrown. It is is then thrown on every keypress within a Neorg buffer until I restart Neovim.
Expected behavior
It should not do that.
Steps to reproduce
In an empty neorg file type a sentence longer than the softwrap like (80 cols) - if it autowraps, press "J" to join with the previous line. There is no error.
Break the line so that it is shorter than the softwrap length.
Press "*" at the beginning of the first line so that it highlights as a headline.
Press "J" to join with the next line.
The error will be thrown many times. Breaking the line again will not supress it. (It's possible it does, and I just don't have the patience to hit enter enough to times to get through all of the times it's thrown - but Neovim is effectively unusable until it's restarted.)
Potentially conflicting plugins
nvim-treesitter I guess?
Other information
No response
Help
Yes, but I don't know how to start. I would need guidance (check question below)
Implementation help
No response
The text was updated successfully, but these errors were encountered: