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
lua/hlchunk/utils/indentHelper.lua:28: attempt to perform arithmetic on local 'leftcol' (a nil value) error when terminal width is less than 138 cols
#145
Describe the bug
When I open nvim with hlchunk installed and configured, and if terminal width is less that 138 cols, I'm getting following error on nvim startup:
...vim/lazy/hlchunk.nvim/lua/hlchunk/utils/indentHelper.lua:28: attempt to perform arithmetic on local 'leftcol' (a nil value)
Screenshots
Maybe it is worth to add something like or 0 (or something like that) there?
The text was updated successfully, but these errors were encountered:
Describe the bug
When I open nvim with
hlchunk
installed and configured, and if terminal width is less that 138 cols, I'm getting following error on nvim startup:Screenshots
Maybe it is worth to add something like
or 0
(or something like that) there?The text was updated successfully, but these errors were encountered: