bufferline.nvim
bufferline.nvim copied to clipboard
Fixed a issue with opening multiple buffers
Fixed a problem where I couldn't open multiple files at once in Neovim on Windows by defining a missing function and updating the code for handling buffer segments.
- Added a missing is_list function in the utils module for input validation.
- Updated the get_component_size function to properly handle buffer segments.
These changes were made to resolve an error that was preventing me from opening multiple files simultaneously. Now, I can easily switch between different files without any errors.
Below is the log of an error that i solved
E5108: Error executing lua ...cal/nvim-data/lazy/bufferline.nvim/lua/bufferline/ui.lua:119: attempt to call field 'is_list' (a nil value) stack traceback: ...cal/nvim-data/lazy/bufferline.nvim/lua/bufferline/ui.lua:119: in function 'get_component_size' ...cal/nvim-data/lazy/bufferline.nvim/lua/bufferline/ui.lua:480: in function 'func' vim/shared.lua:257: in function 'get_components' .../Local/nvim-data/lazy/bufferline.nvim/lua/bufferline.lua:56: in function <.../Local/nvim-data/lazy/bufferline.nvim/lua/bufferline.lua:54>
Thanks for the PR but I think the actual root cause here was a deprecation of a function and a fix has been merged now to handle that. Thanks anyway 🙏🏾