-
Notifications
You must be signed in to change notification settings - Fork 4
file_encoding
Zeioth edited this page Feb 23, 2024
·
7 revisions
You can add this component to the statusline section of heirline opts.
require("heirline-components.all").component.file_encoding()
You will see it like file format + file encoding
These are the available providers for this component and its options.
file_format = { padding = { left = 1, right = 0 } }, -- if set, displays the OS the current buffer is currently encoded for.
file_encoding = { padding = { left = 1, right = 0 } }, -- if set, displays the encoding format the current buffer currently has.