feat(columns): per-character permission column highlights (#375)

Problem: the permissions column rendered as a monolithic unstyled
string, making it hard to scan `rwx` bits at a glance.

Solution: add per-character highlight groups for permission characters
following the `eza`/`lsd` convention. All groups link to standard
Neovim highlights so every colorscheme works out of the box.
This commit is contained in:
Barrett Ruth 2026-03-16 15:52:00 -04:00
parent 7b16324c5a
commit b87c505b76
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
6 changed files with 81 additions and 3 deletions

View file

@ -868,6 +868,24 @@ OilExecutable *hl-OilExecutabl
OilExecutableHidden *hl-OilExecutableHidden*
Hidden executable files in an oil buffer
OilPermissionRead *hl-OilPermissionRead*
Read permission character in the permissions column
OilPermissionWrite *hl-OilPermissionWrite*
Write permission character in the permissions column
OilPermissionExec *hl-OilPermissionExec*
Execute permission character in the permissions column
OilPermissionSetuid *hl-OilPermissionSetuid*
Setuid/setgid permission character in the permissions column
OilPermissionSticky *hl-OilPermissionSticky*
Sticky bit permission character in the permissions column
OilPermissionNone *hl-OilPermissionNone*
No permission character in the permissions column
OilCreate *hl-OilCreate*
Create action in the oil preview window