Closed sergiuser1 closed 2 months ago
Does vim/neovim's builtin statusline show this by default? if not can you put it behind an option, set default to false?
By default it doesn't have anything about file encoding, I found this about making a custom component: https://stackoverflow.com/a/10416234/11710862
I'll add the option and some tests and will update the PR.
Warning: This pull request is touching the following templated files:
lualine.txt
is generated from README.md. Make changes there instead.@shadmansaleh I've made it optional with the default being false, and I've added tests.
@shadmansaleh ping
Thanks. Sorry for the late reply.
Thanks!
Inspired by vim-airline, it adds
[BOM]
to the encoding if the file uses byte-order mark