nebulous.nvim icon indicating copy to clipboard operation
nebulous.nvim copied to clipboard

Support for LineNumberInterval plugin

Open Chaitanyabsprip opened this issue 3 years ago • 2 comments

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

Chaitanyabsprip avatar Jan 01 '22 19:01 Chaitanyabsprip

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?

Yagua avatar Jan 02 '22 14:01 Yagua

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

IMOKURI avatar Mar 20 '22 11:03 IMOKURI