-
Hello ! How would i be able to make the height of the bottom panel for buffers to be relative to the results inside, in my case the number of buffer For now i use gb to open that panel, and i set the height to 0.15, i dont know how to make that automatic This is my fzf-lua config:
Thanks |
Beta Was this translation helpful? Give feedback.
Answered by
ibhagwan
Sep 28, 2024
Replies: 1 comment
-
Set height to an integer that’s equal to the number of buffers + borders, something like: height = #vim.api.nvim_list_bufs() + 2, Note that to get an accurate count of the buffer list you’ll need to filter hidden and scratch buffers by iterating the output of the table. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
crates51
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Set height to an integer that’s equal to the number of buffers + borders, something like:
Note that to get an accurate count of the buffer list you’ll need to filter hidden and scratch buffers by iterating the output of the table.