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:
parent
8d8def18dd
commit
4d7ed2a0af
1 changed files with 1 additions and 7 deletions
|
@ -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},
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue