1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2024-12-22 17:28:01 +00:00

[neovim] hide some known windows from lualine filename section

This commit is contained in:
Daniel Carrillo 2023-10-20 17:44:59 +02:00
parent ef5524d858
commit bc6814d32e
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16

View File

@ -84,7 +84,15 @@ require("lualine").setup({
"filename", "filename",
path = 1, path = 1,
cond = function() 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 return false
end end
@ -109,4 +117,5 @@ require("lualine").setup({
lualine_y = { "progress" }, lualine_y = { "progress" },
lualine_z = { "location" }, lualine_z = { "location" },
}, },
extensions = { "lazy", "mason", "trouble" },
}) })