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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user