fix: add missing OilExecutableHidden highlight group

Problem: the rendering code constructs "OilExecutable" .. "Hidden" for
hidden executables, but that group was never defined. Hidden executables
silently lose all highlighting instead of being dimmed like every other
hidden entry type.

Solution: add OilExecutableHidden linked to OilHidden, consistent with
OilFileHidden, OilDirHidden, and all other hidden variants.

Based on: stevearc/oil.nvim#698
This commit is contained in:
Barrett Ruth 2026-02-20 20:23:42 -05:00
parent 9110a1a499
commit 85ed9b8a72
Signed by: barrett
GPG key ID: A6C96C9349D2FC81

View file

@ -928,6 +928,11 @@ M._get_highlights = function()
link = "DiagnosticOk",
desc = "Executable files in an oil buffer",
},
{
name = "OilExecutableHidden",
link = "OilHidden",
desc = "Hidden executable files in an oil buffer",
},
{
name = "OilCreate",
link = "DiagnosticInfo",