Closed Jaehaks closed 6 months ago
Heyyo @Jaehaks, Just saw the issue #65 opened.
Have you checked out the wiki examples? https://github.com/tamton-aquib/staline.nvim/wiki/Examples
There are examples for vim.bo.fileencoding
and vim.bo.filetype
.
@tamton-aquib I didn't check the tips. Thank you
@tamton-aquib I checked the tips and inserted config like below
But the fileencoding don't display
What I missed?
@Jaehaks ,
Try wrapping it inside a function:
right = {
-- ...
function() return vim.bo.filetype:upper() end
-- ...
}
@tamton-aquib It works! Thank you
Hello.
Could you support 'file_type' and 'file_encoding' in section?