From aa70eab5fb4cbcdebdbb95ac82663a8d1e382f54 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 12 Nov 2024 05:22:01 +0200 Subject: [PATCH] fix(nvim): disable statuscol on certain ft and bt --- config/nvim/lua/plugins/ufo.lua | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/config/nvim/lua/plugins/ufo.lua b/config/nvim/lua/plugins/ufo.lua index 920039c..7a0e4ae 100644 --- a/config/nvim/lua/plugins/ufo.lua +++ b/config/nvim/lua/plugins/ufo.lua @@ -16,6 +16,28 @@ return { local builtin = require 'statuscol.builtin' require('statuscol').setup { relculright = true, + ft_ignore = { + 'dashboard', + 'NvimTree', + 'help', + 'vim', + 'alpha', + 'dashboard', + 'neo-tree', + 'Trouble', + 'lazy', + 'toggleterm', + }, + bt_ignore = { + 'help', + 'vim', + 'alpha', + 'dashboard', + 'neo-tree', + 'Trouble', + 'lazy', + 'toggleterm', + }, segments = { { text = { builtin.foldfunc },