Skip to content

Commit

Permalink
feat(neodim): support v2 (ayamir#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jint-lzxy authored and bleedingfight committed Jun 22, 2023
1 parent cfeb368 commit 0a253a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions lua/modules/configs/ui/neodim.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@ return function()
signs = false,
underline = false,
},
priority = 80,
disable = { "big_file_disabled_ft" },
})
end
4 changes: 2 additions & 2 deletions lua/modules/utils/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ function M.hl_to_rgb(hl_group, use_bg, fallback_hl)
if hlexists then
local result = vim.api.nvim_get_hl(0, { name = hl_group, link = false })
if use_bg then
hex = result.bg and result.bg or "NONE"
hex = result.bg and string.format("#%06x", result.bg) or "NONE"
else
hex = result.fg and result.fg or "NONE"
hex = result.fg and string.format("#%06x", result.fg) or "NONE"
end
end

Expand Down

0 comments on commit 0a253a8

Please sign in to comment.