Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Themes get_hl_color() with new api can not get bg or fg color for link groups #74

Closed
0x00-ketsu opened this issue Jun 5, 2024 · 1 comment

Comments

@0x00-ketsu
Copy link

0x00-ketsu commented Jun 5, 2024

In themes/init.lua the function M.get_hl_color() with neovim api vim.api.nvim_get_hl() can not get bg or fg color for link groups.

image

set option link = false will works fine.

local ok, hl = pcall(vim.api.nvim_get_hl, 0, { name = group_name, link = false })

image

@windwp windwp closed this as completed in 58b6ddb Jun 5, 2024
@windwp
Copy link
Owner

windwp commented Jun 5, 2024

Thank.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants