From 74525ac04760bf0d9fec2bf51474d2b05f36048e Mon Sep 17 00:00:00 2001 From: Kevin Ko Date: Sat, 20 Jan 2024 18:32:28 -0500 Subject: [PATCH] fix: allow highlight overrides for DEFAULT_DEFS: NvimTreeFolderIcon, NvimTreeWindowPicker (#2636) --- lua/nvim-tree/appearance.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nvim-tree/appearance.lua b/lua/nvim-tree/appearance.lua index dcddf29b459..d744a92e310 100644 --- a/lua/nvim-tree/appearance.lua +++ b/lua/nvim-tree/appearance.lua @@ -191,7 +191,7 @@ local LEGACY_LINKS = { function M.setup() -- non-linked for k, d in pairs(DEFAULT_DEFS) do - vim.api.nvim_command("hi " .. k .. " " .. d) + vim.api.nvim_command("hi def " .. k .. " " .. d) end -- hard link override when legacy only is present