mirror of
https://github.com/dcarrillo/dotfiles.git
synced 2024-12-22 11:38:00 +00:00
[neovim] hide some known windows from lualine filename section
This commit is contained in:
parent
ef5524d858
commit
bc6814d32e
@ -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" },
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user