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:
parent
7b16324c5a
commit
bf461f6844
6 changed files with 81 additions and 3 deletions
18
doc/oil.txt
18
doc/oil.txt
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ issues against this fork.
|
|||
| [#363](https://github.com/stevearc/oil.nvim/issues/363) | `prompt_save_on_select_new_entry` wrong prompt | fixed |
|
||||
| [#371](https://github.com/stevearc/oil.nvim/issues/371) | Constrain cursor in insert mode | fixed ([#93](https://github.com/barrettruth/canola.nvim/pull/93)) |
|
||||
| [#373](https://github.com/stevearc/oil.nvim/issues/373) | Dir from quickfix with bqf/trouble broken | open |
|
||||
| [#375](https://github.com/stevearc/oil.nvim/issues/375) | Highlights for file types and permissions | open |
|
||||
| [#375](https://github.com/stevearc/oil.nvim/issues/375) | Highlights for file types and permissions | fixed — per-character permission column highlights |
|
||||
| [#380](https://github.com/stevearc/oil.nvim/issues/380) | Silently overriding `show_hidden` | not actionable — counter to config intent |
|
||||
| [#382](https://github.com/stevearc/oil.nvim/issues/382) | Relative path in window title | not actionable — solved by `get_win_title` callback ([#482](https://github.com/stevearc/oil.nvim/pull/482)) |
|
||||
| [#392](https://github.com/stevearc/oil.nvim/issues/392) | Option to skip delete prompt | fixed |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue