How to turn off a particular component or section? #913
Answered
by
yutkat
thatlittleboy
asked this question in
Q&A
Replies: 1 comment 1 reply
-
lualine.setup {
options = {
theme = "auto",
component_separators = "|",
disabled_filetypes = {
"packer",
"NvimTree",
},
},
sections = {
lualine_x = {"filetype"}, -- this <<<<<
}
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
thatlittleboy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I must be missing something really basic, but how do I disable a particular component or section?
For example, I want to turn off this part

Disabling components
I would've thought something like
would work, but it doesn't. After restarting neovim, I still see the fileencoding and fileformat.
Disabling entire section
Doing
I expect to remove the entire section, but again, it doesn't do what I expect. The section still exists after restarting neovim.
Any help?
Additional info
:verbose set statusline
returns me thisBeta Was this translation helpful? Give feedback.
All reactions