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
Recently I started using heirline and have seen that it sometimes crashes when my terminal windows is small in size.
Here is the crash ouput:
eirline.nvim/lua/heirline/statusline.lua:381: bad argument #1 to 'prov
ider' (string expected, got nil)
stack traceback:
[C]: in function 'provider'
...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:38
1: in function '_eval'
...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:39
8: in function '_eval'
...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:39
8: in function '_eval'
...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:47
3: in function 'eval'
...ocal/share/nvim/lazy/heirline.nvim/lua/heirline/init.lua:10
9: in function <...ocal/share/nvim/lazy/heirline.nvim/lua/heirline/ini
t.lua:104>
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
/home/crony/.config/nvim/lua/crony/plugins/heirline.lua:109: i
n function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
/home/crony/.config/nvim/lua/crony/plugins/heirline.lua:109: i
n function ''
Edit: The config is almost 100% just copy paste job from the wiki.
The text was updated successfully, but these errors were encountered:
cronyakatsuki
changed the title
Heirline sometimes crashes while quiting.
ViMode Update ModeChanged makes heirline crash on smaller terminal sizes
Dec 10, 2023
After some playing around with the config, I have seen that by commenting out this block of code for ViMode component copied from the wiki fixed this issue.
Recently I started using heirline and have seen that it sometimes crashes when my terminal windows is small in size.
Here is the crash ouput:
Here is a link to my current heirline config
Edit: The config is almost 100% just copy paste job from the wiki.
The text was updated successfully, but these errors were encountered: