Commit Graph
11 Commits
Author SHA1 Message Date
Folke Lemaitre 05e45e0d35 refactor: LazyVim.config 2024-06-16 15:35:38 +02:00
dotfrag 21617a9d60 feat(lualine): show readonly icon (#3567)
Adds a configurable lock icon when a file is opened as read only. Mimics
`vi -R <file>` status line.
2024-06-10 22:06:09 +02:00
Folke Lemaitre e89653f410 fix(pretty_path): properly escape % characters 2024-05-12 22:08:13 +02:00
Iordanis PetkakisandFolke Lemaitre b8475f5194 feat(lualine): make path trimming configurable by user (#3062)
* feat(lualine): make path trimming configurable by user

* fix: always split both forward/backward slashes

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-05-03 09:16:50 +02:00
Folke Lemaitre 7a5dbeae75 feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
Iordanis Petkakis ed44b246b4 feat(lualine): add modified_sign to pretty_path (#2754)
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.
2024-03-19 22:28:31 +01:00
Pete KazmierandFolke Lemaitre d3761eded7 feat(lualine): add more hl options to pretty_path (#2687)
* 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>
2024-03-10 09:45:40 +01:00
Folke Lemaitre 9517e64009 fix(root): root dir for windows. Fixes #1749 2023-10-16 08:35:35 +02:00
Folke Lemaitre dfdfcad1aa feat(lualine): new root dir component that only shows when cwd != root_dir 2023-10-15 22:38:44 +02:00
Folke Lemaitre 8af7309c7e feat(lualine): pretty_path now highlights file basename when modified 2023-10-15 22:37:49 +02:00
Folke Lemaitre 1a4342abae refactor: move cmp status lualine component to util 2023-10-14 18:02:47 +02:00