e917677a3a
Currently, lualine gets the encoding using this: [[%{strlen(&fenc)?&fenc:&enc}]] My suggestion is to change this string to `vim.opt.fileencoding:get()` This suggestion is because I would like to use the option "fmt = string.upper", and with the current string it doesn't work, but using vim.opt function correctly |
||
---|---|---|
.. | ||
branch | ||
buffers | ||
diagnostics | ||
diff | ||
special | ||
tabs | ||
encoding.lua | ||
fileformat.lua | ||
filename.lua | ||
filesize.lua | ||
filetype.lua | ||
hostname.lua | ||
location.lua | ||
mode.lua | ||
progress.lua |