vim/lualine: remove dynamic color for filename (doesn't work properly)

The function does work for the active window, but there is no way to
have it return a different value for inactive windows.
This commit is contained in:
Fernando Schauenburg 2023-08-08 03:24:30 +02:00
parent 8d8def18dd
commit 4d7ed2a0af

View file

@ -99,7 +99,7 @@ local config = function()
return vim.fn.join(flags, ' ')
end,
color = { fg = '#eee8d5' },
color = { fg = '#eee8d5', gui = 'bold' },
},
filename = {
@ -117,12 +117,6 @@ local config = function()
return shorten_path(vim.fn.expand('%:~:.'))
end,
color = function()
if vim.bo.modified then
return { gui = 'italic' }
end
end,
padding = { left = 1, right = 0},
},