bug: Inlay Hints aren't well supported
Closed this issue · 5 comments
j-barnak commented
Did you check documentation and existing issues?
- I have read all the midnight.nvim documentation
- I have searched through all existing issues of midnight.nvim
- My issue is non-trivial and does not belong in the Discussions section
Neovim version (nvim -v)
NVIM v0.10.1-dev-9+g671073e71
Operating system / version (for eg., uname -sro)
Linux 6.1.0-1036-oem GNU/Linux
Describe the bug
Inlay hints aren't well supported. They match the background making it impossible to seem
Could fix with just
vim.api.nvim_set_hl(0, "LspInlayHint", { fg = "#9DA9A0" })
Steps To Reproduce
Enable inlay hints
Expected Behavior
Inlay hints are a different color than the background
Repro
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system {
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
lazypath,
}
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
require("lazy").setup({
{
"dasupradyumna/midnight.nvim",
lazy = false,
priority = 1000,
config = function()
require('midnight').setup {
--- add code here
}
end,
}
}, { root = root .. "/plugins" })
vim.cmd.colorscheme "midnight"
dasupradyumna commented
Hey, I'll make this change soon. Just a bit occupied rn.
j-barnak commented
Looks good!
…On Wed, Jun 12, 2024 at 12:08 PM Mattias Hansson ***@***.***> wrote:
Check #13 <#13>
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AXATNXO2LKXITRW3T7ZXSY3ZHBW6VAVCNFSM6AAAAABIAZDIL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRTGQZDEMJQGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
pithecantrope commented
This is the best color scheme honestly
dasupradyumna commented
Sorry for the extremely late response everyone. I have been busy with my day-job.
Closing this issue because the related MR has been merged.
Thanks @orzen for your efforts! :)