* feat(lualine): make path trimming configurable by user
* fix: always split both forward/backward slashes
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
Closes#2752
I left the initial text blank on purpose, so that it doesn't change
anything stylistically and let the user decide what he wants to add
in his personal configuration for `lualine` spec.
* feat(lualine): add more hl options to pretty_path
Adds two additional options to pretty_path: filename_hl and dirpath_hl.
This allows users to customize the highlight group of both the directory
component of the path name and the filenname independently. modified_hl
is still used when the buffer has been modified.
Thanks to dpetka2001 (Iordanis Petkakis) for the changes to the format
function.
* feat: cleanup
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>