From b170d0182aae5c7b6f1587be4f94823646d7be05 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Fri, 29 Sep 2023 09:03:03 +0300 Subject: [PATCH] Nvim: migrate indent-blankline to v3 --- .../nvim/lua/plugins/indent-blankline.lua | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/home/.config/nvim/lua/plugins/indent-blankline.lua b/home/.config/nvim/lua/plugins/indent-blankline.lua index af840c1c..5d6b4c37 100644 --- a/home/.config/nvim/lua/plugins/indent-blankline.lua +++ b/home/.config/nvim/lua/plugins/indent-blankline.lua @@ -1,18 +1,19 @@ return function() - vim.opt.list = true - require("indent_blankline").setup({ - space_char_blankline = " ", - show_current_context = true, - show_current_context_start = true, + require("ibl").setup({ + exclude = { + filetypes = { + "", + "checkhealth", + "dashboard", + "git", + "gitcommit", + "TelescopePrompt", + "TelescopeResults", + "help", + "lazy", + "lspinfo", + "man", + }, + }, }) - vim.g.indent_blankline_filetype_exclude = { - "", - "checkhealth", - "dashboard", - "help", - "lspinfo", - "man", - "lazy", - "git", - } end