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

feat(neodim): support v2 #739

Merged
merged 1 commit into from
May 16, 2023
Merged

feat(neodim): support v2 #739

merged 1 commit into from
May 16, 2023

Conversation

Jint-lzxy
Copy link
Collaborator

I'm not sure why nvim_get_hl returns a decimal RGB value instead of a hex string.

@ayamir @CharlesChiuGit Have u encountered similar issues?

:=vim.api.nvim_get_hl(0, { name = "Normal" })

Returns

{
  bg = 1973806,
  fg = 13489908
}
Press ENTER or type command to continue

But according to the documentation, it should return:

{
  bg = #1E1E2E,
  fg = #CDD6F4
}
Press ENTER or type command to continue

@ayamir
Copy link
Owner

ayamir commented May 15, 2023

It returns the former:
image

@ayamir ayamir merged commit 770810b into main May 16, 2023
2 checks passed
@ayamir ayamir deleted the feat/neovim-v2 branch May 16, 2023 03:44
singlemancombat pushed a commit to singlemancombat/nvim-config that referenced this pull request May 16, 2023
leavers pushed a commit to leavers/nvimdots that referenced this pull request May 16, 2023
bleedingfight pushed a commit to bleedingfight/nvimdots that referenced this pull request Jun 22, 2023
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

Successfully merging this pull request may close these issues.

None yet

2 participants