Hi I’ve been looking at nyoom.nvim and it alters the UI of telescope (see screenshot) I was just wondering how this is possible? I looked d through the codebase but couldn’t find anything other than the setting of colours?

Here is the repo: https://github.com/nyoom-engineering/nyoom.nvim

  • autokludge
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 months ago

    The color scheme itself doesn’t modify the UI apart from colors, the screenshot you linked from the oxocarbon repo is in context of the nyoom.nvim distro (see bottom left).

    I did a quick try of oxocarbon overriding the theme from a base kickstart.nvim and it looks like below:

    Its looks completely different from base but it is just careful color selection for foreground + background colors for titles, and setting the borders to off-black to give a borderless but padded look. eg vim.api.nvim_set_hl(0, "TelescopeResultsTitle", {fg = oxocarbon.blend, bg = oxocarbon.blend}) https://github.com/nyoom-engineering/oxocarbon.nvim/blob/main/lua/oxocarbon/init.lua#L282-L292