Yagua / nebulous.nvim

Minimalist Collection of Colorschemes for Neovim Written in Lua
MIT License
184 stars 11 forks source link

Support for LineNumberInterval plugin #15

Open Chaitanyabsprip opened 2 years ago

Chaitanyabsprip commented 2 years ago

I use line_number_interval plugin and it works fine with rose-pine and tokyonight themes, but with any variant of nebulous it stops working. almost as if nebulous disabled the plugin,, because using the commands from that plugin stop functioning as well

Yagua commented 2 years ago

Hi @Chaitanyabsprip, thanks for reporting this dilemma. Do you think you could show me how to reproduce the problem and give me a photographic (or video) record of what the problem looks like?

IMOKURI commented 2 years ago

Hi, I use both plugins with following nebulous.nvim configuration. I hope this may help you.

local M = {}
local colors = require("nebulous.functions").get_colors("midnight")

function M.config()
    require("nebulous").setup({
        variant = "midnight",
        custom_colors = {
            CursorLineNr = { fg = colors.Red },
            HighlightedLineNr = { fg = colors.White },
            HighlightedLineNr1 = { fg = colors.Yellow },
            HighlightedLineNr2 = { fg = colors.Aqua },
            HighlightedLineNr3 = { fg = colors.Green },
            HighlightedLineNr4 = { fg = colors.Blue },
            HighlightedLineNr5 = { fg = colors.Magenta },
            DimLineNr = { fg = colors.DarkGrey },
            ActiveWindow = { bg = colors.Black },
            InactiveWindow = { bg = colors.background },
        },
    })

    vim.opt.winhighlight = "Normal:ActiveWindow,NormalNC:InactiveWindow"
end

return M

https://github.com/IMOKURI/dotfiles/blob/1726616017a757e7a03a3e5ff2d1934cdbab3b34/config/nvim/lua/plugin/rc/nebulous-nvim.lua#L9-L15

image