From 23416a67912e398801c0052535133ed91125b7ff Mon Sep 17 00:00:00 2001 From: Daniel Nehrig Date: Sat, 21 Oct 2023 07:15:19 +0300 Subject: [PATCH] fix(plugin): update to latest ibl Signed-off-by: Daniel Nehrig --- .../plugins/configs/indent-blankline/init.lua | 50 +++++++++---------- 1 file changed, 24 insertions(+), 26 deletions(-) diff --git a/lua/config/plugins/configs/indent-blankline/init.lua b/lua/config/plugins/configs/indent-blankline/init.lua index dc75c45..2f5c1f7 100644 --- a/lua/config/plugins/configs/indent-blankline/init.lua +++ b/lua/config/plugins/configs/indent-blankline/init.lua @@ -2,37 +2,35 @@ local M = {} function M.init() - local present, blank = pcall(require, "indent_blankline") + local present, blank = pcall(require, "ibl") if not present then return end blank.setup({ - indentLine_enabled = 1, - char = "▏", - filetype_exclude = { - "help", - "terminal", - "dashboard", - "alpha", - "lazy", - "NvimTree", - "packer", - "noice", - "notify", - "lspinfo", - "TelescopePrompt", - "OverseerForm", - "TelescopeResults", - "lsp-installer", - "", + enabled = true, + scope = { + char = "▏", + }, + exclude = { + filetypes = { + "help", + "terminal", + "dashboard", + "alpha", + "lazy", + "NvimTree", + "packer", + "noice", + "notify", + "lspinfo", + "TelescopePrompt", + "OverseerForm", + "TelescopeResults", + "lsp-installer", + "", + }, + buftypes = { "terminal", "dashboard", "notify" }, }, - buftype_exclude = { "terminal", "dashboard", "notify" }, - show_first_indent_level = true, - show_current_context = true, - use_treesitter = true, - space_char_blankline = " ", - show_end_of_line = true, - show_trailing_blankline_indent = true, }) end