From afe64f98bc2cb0ccff1dcfbe00ff8a78afd8c7c4 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Tue, 2 May 2023 09:24:46 +0300 Subject: [PATCH] nvim: add dashboard to indent-blankline ignore filetype --- .../nvim/lua/plugins/indent-blankline.lua | 21 +++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/home/.config/nvim/lua/plugins/indent-blankline.lua b/home/.config/nvim/lua/plugins/indent-blankline.lua index ca8dbf4f..995d2061 100644 --- a/home/.config/nvim/lua/plugins/indent-blankline.lua +++ b/home/.config/nvim/lua/plugins/indent-blankline.lua @@ -1,8 +1,17 @@ return function() - vim.opt.list = true - require("indent_blankline").setup({ - space_char_blankline = " ", - show_current_context = true, - show_current_context_start = true, - }) + vim.opt.list = true + require("indent_blankline").setup({ + space_char_blankline = " ", + show_current_context = true, + show_current_context_start = true, + }) + vim.g.indent_blankline_filetype_exclude = { + "", + "checkhealth", + "dashboard", + "help", + "lspinfo", + "man", + "lazy", + } end