shellRaining / hlchunk.nvim

This is the lua implementation of nvim-hlchunk, you can use this neovim plugin to highlight your indent line and the current chunk (context) your cursor stayed
MIT License
472 stars 29 forks source link

Can this effect be achieved? Similar to indent-rainbowline.nvim. #91

Closed ian-ie closed 2 months ago

ian-ie commented 4 months ago

indent-rainbowline.nvim screenshot

shellRaining commented 2 months ago

yes, you can use blank mod to achieved this effect, by setting below:

hlchunk.setup({
    blank = {
        enable = true,
        chars = {
            " ",
        },
        style = {
            { bg = "#434437" },
            { bg = "#2f4440" },
            { bg = "#433054" },
            { bg = "#284251" },
        },
    },
})

these highlights are same with indent-rainbowline.nvim, I will provide a simpler setup method later.