Skip to content

Instantly share code, notes, and snippets.

@b0o
Created April 19, 2024 06:28
Show Gist options
  • Save b0o/d7b69a576bb066acdc0d9bcb66ebc1e9 to your computer and use it in GitHub Desktop.
Save b0o/d7b69a576bb066acdc0d9bcb66ebc1e9 to your computer and use it in GitHub Desktop.
Error executing Lua callback: ...nvim/nui-components.nvim/lua/nui-components/utils/fn.lua:18: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
...nvim/nui-components.nvim/lua/nui-components/utils/fn.lua:18: in function 'get_max_width'
...vim/nui-components.nvim/lua/nui-components/paragraph.lua:133: in function 'on_layout'
...ui-components.nvim/lua/nui-components/component/size.lua:208: in function 'get_size'
...ui-components.nvim/lua/nui-components/component/init.lua:358: in function 'render'
...ui-components.nvim/lua/nui-components/component/init.lua:346: in function 'func'
...nvim/nui-components.nvim/lua/nui-components/utils/fn.lua:19: in function 'ireduce'
...ui-components.nvim/lua/nui-components/component/init.lua:344: in function 'render'
...nvim/nui-components.nvim/lua/nui-components/renderer.lua:140: in function 'func'
...nvim/nui-components.nvim/lua/nui-components/utils/fn.lua:19: in function 'ireduce'
...nvim/nui-components.nvim/lua/nui-components/renderer.lua:138: in function '_get_layout_box'
...nvim/nui-components.nvim/lua/nui-components/renderer.lua:150: in function '_set_layout'
...nvim/nui-components.nvim/lua/nui-components/renderer.lua:54: in function 'render'
test.lua:119: in function <test.lua:71>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment