will-lynas / grapple-line.nvim

🪝 A lualine component for grapple.nvim
MIT License
12 stars 2 forks source link

Add optional scrolling #16

Open will-lynas opened 3 months ago

will-lynas commented 3 months ago

For example if I have 6 files tagged with grapple and I display a maximum of 4, when I switch to file 6 the bar would show

... file3 file4 file5 (file6)

where the brackets represent highlighting.

will-lynas commented 2 months ago

Something that could also be implemented is this:

If we have more than 4 files (and we are currently on file1), the bar would display

(file1) file2 file3 file4 ...

And when we visit a file not shown in the bar, it displays

file1 file2 file3 file4 (...)