From 526757742d06d7442a5e7c624163f2e1ee9e1738 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Thu, 29 Aug 2024 13:43:53 -0700 Subject: [PATCH] feat: OilHidden for hidden highlights instead of Comment --- lua/oil/init.lua | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/lua/oil/init.lua b/lua/oil/init.lua index cab0204c..bd918cf4 100644 --- a/lua/oil/init.lua +++ b/lua/oil/init.lua @@ -796,6 +796,11 @@ end ---@private M._get_highlights = function() return { + { + name = "OilHidden", + link = "Comment", + desc = "Hidden entry in an oil buffer", + }, { name = "OilDir", link = "Directory", @@ -803,7 +808,7 @@ M._get_highlights = function() }, { name = "OilDirHidden", - link = "Comment", + link = "OilHidden", desc = "Hidden directory names in an oil buffer", }, { @@ -818,7 +823,7 @@ M._get_highlights = function() }, { name = "OilSocketHidden", - link = "Comment", + link = "OilHidden", desc = "Hidden socket files in an oil buffer", }, { @@ -833,7 +838,7 @@ M._get_highlights = function() }, { name = "OilLinkHidden", - link = "Comment", + link = "OilHidden", desc = "Hidden soft links in an oil buffer", }, { @@ -848,7 +853,7 @@ M._get_highlights = function() }, { name = "OilLinkTargetHidden", - link = "Comment", + link = "OilHidden", desc = "The target of a hidden soft link", }, { @@ -858,7 +863,7 @@ M._get_highlights = function() }, { name = "OilFileHidden", - link = "Comment", + link = "OilHidden", desc = "Hidden normal files in an oil buffer", }, {