Improve hiding/showing statusline via config

This commit is contained in:
Akianonymus
2021-08-20 14:52:27 +05:30
committed by siduck76
parent dbf0b56059
commit 1f6dbed26b
4 changed files with 42 additions and 10 deletions

View File

@@ -17,12 +17,16 @@ M.ui = {
-- For Ex : if you have onedark set in nvchad , set onedark's bg color on your terminal
transparency = false,
hidden_statusline = {
-- statusline related options
statusline = {
-- these are filetypes, not pattern matched
"NvimTree",
"terminal",
-- if a filetype is present in shown, it will always show the statusline, irrespective of filetypes in hidden
hidden = {},
shown = {
-- "terminal"
},
style = "default", -- default, round , slant , block , arrow
},
statusline_style = "default", -- default, round , slant , block , arrow
}
M.options = {