From bc6814d32eecd2a1b8896d45bf670590f4b51e3e Mon Sep 17 00:00:00 2001 From: Daniel Carrillo Date: Fri, 20 Oct 2023 17:44:59 +0200 Subject: [PATCH] [neovim] hide some known windows from lualine filename section --- .config/nvim/lua/plugins/lualine.lua | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.config/nvim/lua/plugins/lualine.lua b/.config/nvim/lua/plugins/lualine.lua index 9a05662..2771577 100644 --- a/.config/nvim/lua/plugins/lualine.lua +++ b/.config/nvim/lua/plugins/lualine.lua @@ -84,7 +84,15 @@ require("lualine").setup({ "filename", path = 1, cond = function() - if vim.bo.filetype == "neo-tree" then + if + vim.bo.filetype == "neo-tree" + or vim.bo.filetype == "mason" + or vim.bo.filetype == "lazy" + or vim.bo.filetype == "help" + or vim.bo.filetype == "starter" + or vim.bo.filetype == "TelescopePrompt" + or vim.bo.filetype == "noice" + then return false end @@ -109,4 +117,5 @@ require("lualine").setup({ lualine_y = { "progress" }, lualine_z = { "location" }, }, + extensions = { "lazy", "mason", "trouble" }, })