10 lines
279 B
Lua
10 lines
279 B
Lua
local M = require("lualine.component"):extend()
|
|
|
|
function M:update_status(--[[is_focused]]_)
|
|
local status = ""
|
|
if vim.bo.modified then status = status .. " " end
|
|
if vim.bo.readonly or not vim.bo.modifiable then status = status .. "" end
|
|
return status
|
|
end
|
|
|
|
return M
|