lualine.nvim
lualine.nvim copied to clipboard
feat: Add BOM indicator to encoding component
Inspired by vim-airline, it adds [BOM] to the encoding if the file uses byte-order mark
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:
- doc/lualine.txt -
lualine.txtis 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!