feat(nvim/indent-blankline): use rainbow-delimiters integration
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
-- rainbow-delimiters integration
|
||||
local hooks = require("ibl.hooks")
|
||||
hooks.register(hooks.type.SCOPE_HIGHLIGHT, hooks.builtin.scope_highlight_from_extmark)
|
||||
|
||||
--- @type ibl.config
|
||||
M = {
|
||||
enabled = true,
|
||||
@@ -7,6 +11,7 @@ M = {
|
||||
scope = {
|
||||
enabled = true,
|
||||
show_start = false,
|
||||
highlight = vim.g.rainbow_delimiters.highlight,
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -100,6 +100,7 @@ local plugins = {
|
||||
{
|
||||
"lukas-reineke/indent-blankline.nvim",
|
||||
event = "VeryLazy",
|
||||
dependencies = { "https://gitlab.com/HiPhish/rainbow-delimiters.nvim" },
|
||||
config = function()
|
||||
require("ibl").setup(require("plugins.indent-blankline"))
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user