Skip to content

Does someone have a good config for indent-blankline #2780

Closed Answered by CaffeineB34r
CaffeineB34r asked this question in Q&A
Discussion options

You must be logged in to vote

after some tinkering i ended with this in my custom plugins file
plugins.lua:

  {
    "HiPhish/rainbow-delimiters.nvim",
    opts = {
      highlight = require "custom.configs.highlight",
    },
    config = function(_, opts)
      require("rainbow-delimiters.setup").setup(opts)
    end,
  },
  {
    "lukas-reineke/indent-blankline.nvim",
    version = false,
    dependencies = { "rainbow-delimiters.nvim" },
    config = function(_, opts)
      local hooks = require "ibl.hooks"
      hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark)
      require("ibl").setup(opts)
    end,
    opts = function() --has to be a function to override the default nvchad opt…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@siduck
Comment options

@CaffeineB34r
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by CaffeineB34r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants