fix: don't hide readonly symbol when modified (#497)
This commit is contained in:
parent
d02658b34d
commit
3a17c8f05a
|
@ -63,7 +63,8 @@ M.update_status = function(self)
|
||||||
if self.options.file_status then
|
if self.options.file_status then
|
||||||
if vim.bo.modified then
|
if vim.bo.modified then
|
||||||
data = data .. self.options.symbols.modified
|
data = data .. self.options.symbols.modified
|
||||||
elseif vim.bo.modifiable == false or vim.bo.readonly == true then
|
end
|
||||||
|
if vim.bo.modifiable == false or vim.bo.readonly == true then
|
||||||
data = data .. self.options.symbols.readonly
|
data = data .. self.options.symbols.readonly
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue