lualine.nvim/lua/lualine/components
Marc Jakobi 36bf6963ae
Add option to show buffer number + alternate file icon (#669)
* Add option to show buffer number + alternate file icon

* Address PR comments

* Adjust existing tests for buffer bufnr mode additions

* Revert "Adjust existing tests for buffer bufnr mode additions"

This reverts commit f8422d9f38b4b437a2330101e13c3a4bc50ed920.

* Add missing case for buffers mode == 0

* Fix some test cases for alternate file icon + modified icon

* Add test cases for modes 3 & 4

* Correct typo in README

* Fix buffers component mode can change layout specs

* Detect buffer numbers in lualine_spec bufnr tests

* Minor change to test descriptions

* Delete unnamed buffer for consistent test results between nvim versions

* Add test case for alternate buffer when switching buffers

* Extend switching buffers test

Co-authored-by: Marc Jakobi <marc.jakobi@tiko.energy>
Co-authored-by: Marc Jakobi <mrcjk@p40yoga.localdomain>
2022-05-20 06:48:18 +06:00
..
branch fix: % not properly escaped in other components too. 2022-02-15 23:17:05 +06:00
buffers Add option to show buffer number + alternate file icon (#669) 2022-05-20 06:48:18 +06:00
diagnostics enhace: add create&format_hl to make hl easier for componemet 2022-04-18 05:20:29 +06:00
diff enhace: add create&format_hl to make hl easier for componemet 2022-04-18 05:20:29 +06:00
special chore: Use paranthesis for function calls. No paran can trip new lua users 2022-01-02 17:38:39 +06:00
tabs enhace: add create&format_hl to make hl easier for componemet 2022-04-18 05:20:29 +06:00
windows Use escape sequence instead of raw binaries (#662) 2022-04-24 11:29:53 +06:00
encoding.lua enhance: change method of getting file encoding 2021-10-22 21:18:27 +06:00
fileformat.lua feat: add symbols option to fileformat (#401) 2021-10-27 03:04:53 +06:00
filename.lua Support tilde as home path in the absolute file paths (#676) 2022-05-13 11:28:03 +06:00
filesize.lua fix: large file lag with filesize component (partially reverts #649) (#675) 2022-05-07 09:53:33 +06:00
filetype.lua feat: add option to invert component icon alignment (#666) 2022-04-30 16:10:47 +06:00
hostname.lua fix: % not properly escaped in other components too. 2022-02-15 23:17:05 +06:00
location.lua enhance: use virtual column(%v) for location and line no (%p) for progress 2021-10-22 09:45:26 +06:00
mode.lua enhance: allow components to be functions too (#81) 2021-10-11 16:41:25 +06:00
progress.lua enhance: use virtual column(%v) for location and line no (%p) for progress 2021-10-22 09:45:26 +06:00