From adcb638e4d04d9278783280d1562c664484dcef3 Mon Sep 17 00:00:00 2001 From: Oscar Wallberg Date: Mon, 16 Oct 2023 22:00:32 +0200 Subject: [PATCH] Update indent-blankline to v3 --- lua/plugins.lua | 1 + lua/plugins/indent-blankline.lua | 15 ++++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/lua/plugins.lua b/lua/plugins.lua index 84d5a7c..621e674 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -154,6 +154,7 @@ local plugins = { }, { "lukas-reineke/indent-blankline.nvim", + main = "ibl", config = require("plugins.indent-blankline"), lazy = true, event = "VimEnter", diff --git a/lua/plugins/indent-blankline.lua b/lua/plugins/indent-blankline.lua index 008546c..54a9346 100644 --- a/lua/plugins/indent-blankline.lua +++ b/lua/plugins/indent-blankline.lua @@ -15,13 +15,14 @@ ]] local function setup() - require("indent_blankline").setup { - use_treesitter = true, - show_first_indent_level = false, - show_trailing_blankline_indent = false, - show_current_context = true, - max_indent_increase = 1, - } + require("ibl").setup({ + enabled = true, + scope = { + enabled = false, + show_start = false, + show_end = false, + }, + }) end return setup