lualine.nvim/lua/lualine/components/encoding.lua

10 lines
214 B
Lua

-- Copyright (c) 2020-2021 hoob3rt
-- MIT license, see LICENSE for more details.
local M = require('lualine.component'):extend()
M.update_status = function()
return [[%{strlen(&fenc)?&fenc:&enc}]]
end
return M