fix: allow highlight overrides for DEFAULT_DEFS: NvimTreeFolderIcon, NvimTreeWindowPicker (#2636)

This commit is contained in:
Kevin Ko 2024-01-20 18:32:28 -05:00 committed by GitHub
parent e9c5abe073
commit 74525ac047
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -191,7 +191,7 @@ local LEGACY_LINKS = {
function M.setup() function M.setup()
-- non-linked -- non-linked
for k, d in pairs(DEFAULT_DEFS) do for k, d in pairs(DEFAULT_DEFS) do
vim.api.nvim_command("hi " .. k .. " " .. d) vim.api.nvim_command("hi def " .. k .. " " .. d)
end end
-- hard link override when legacy only is present -- hard link override when legacy only is present