Feat: Adding readonly to filestatus (#149)
This commit is contained in:
parent
a3037fbf0b
commit
78b8260084
|
@ -24,7 +24,7 @@ local function filename(options)
|
|||
if options.file_status then
|
||||
if vim.bo.modified then
|
||||
data = data .. '[+]'
|
||||
elseif vim.bo.modifiable == false then
|
||||
elseif vim.bo.modifiable == false or vim.bo.readonly == true then
|
||||
data = data .. '[-]'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue