feat: add OilEmpty highlight group (#689)
* Add OilEmpty highlight * Add OilEmpty to doc
This commit is contained in:
parent
e5a1398790
commit
b9ab05fe5a
3 changed files with 9 additions and 1 deletions
|
|
@ -646,6 +646,9 @@ yank_entry *actions.yank_entr
|
|||
--------------------------------------------------------------------------------
|
||||
HIGHLIGHTS *oil-highlights*
|
||||
|
||||
OilEmpty *hl-OilEmpty*
|
||||
Empty column values
|
||||
|
||||
OilHidden *hl-OilHidden*
|
||||
Hidden entry in an oil buffer
|
||||
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ M.get_supported_columns = function(adapter_or_scheme)
|
|||
return ret
|
||||
end
|
||||
|
||||
local EMPTY = { "-", "Comment" }
|
||||
local EMPTY = { "-", "OilEmpty" }
|
||||
|
||||
M.EMPTY = EMPTY
|
||||
|
||||
|
|
|
|||
|
|
@ -823,6 +823,11 @@ end
|
|||
---@private
|
||||
M._get_highlights = function()
|
||||
return {
|
||||
{
|
||||
name = "OilEmpty",
|
||||
link = "Comment",
|
||||
desc = "Empty column values",
|
||||
},
|
||||
{
|
||||
name = "OilHidden",
|
||||
link = "Comment",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue