fix: make sure to get the final highlight values rather than link names (#1682)

* fix: make sure to get the final highlight values rather than link names

* fix: update other `nvim_get_hl` calls to use `link = false`

* fix: more link = false

---------

Co-authored-by: yetone <yetoneful@gmail.com>
This commit is contained in:
Micah Halter
2025-03-24 03:42:44 -04:00
committed by GitHub
parent 2c63dfea16
commit 46be28c357
2 changed files with 8 additions and 8 deletions

View File

@@ -311,7 +311,7 @@ end
---@return table<string, string>
function M.get_hl(name)
if not name then return {} end
return api.nvim_get_hl(0, { name = name })
return api.nvim_get_hl(0, { name = name, link = false })
end
--- vendor from lazy.nvim for early access and override