fix(nvim): make heirline status file flags show per file
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m18s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m18s
This commit is contained in:
parent
d9b5900da2
commit
3595540b6a
@ -348,15 +348,15 @@ return {
|
||||
-- also, we are adding a nice icon for terminal buffers.
|
||||
local StatusLineFileFlags = {
|
||||
{
|
||||
condition = function()
|
||||
return vim.bo.modified
|
||||
condition = function(self)
|
||||
return vim.bo[self.bufnr].modified
|
||||
end,
|
||||
provider = " ",
|
||||
hl = { fg = colors.springGreen },
|
||||
},
|
||||
{
|
||||
condition = function()
|
||||
return not vim.bo.modifiable or vim.bo.readonly
|
||||
condition = function(self)
|
||||
return not vim.bo[self.bufnr].modifiable or vim.bo[self.bufnr].readonly
|
||||
end,
|
||||
provider = " ",
|
||||
hl = { fg = colors.roninYellow },
|
||||
|
Loading…
Reference in New Issue
Block a user