vim/lualine: prepare color abstraction
This commit is contained in:
parent
7f80e37117
commit
6244808688
1 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
local orange = '#d65d0e'
|
||||||
|
local bright = '#ffffff' -- alternative: '#f9f5d7'
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'nvim-lualine/lualine.nvim',
|
'nvim-lualine/lualine.nvim',
|
||||||
config = function()
|
config = function()
|
||||||
|
@ -41,7 +44,7 @@ return {
|
||||||
paste = {
|
paste = {
|
||||||
colored_if_focused(function(has_focus) return has_focus and '' or ' ' end),
|
colored_if_focused(function(has_focus) return has_focus and '' or ' ' end),
|
||||||
color = {
|
color = {
|
||||||
bg = '#fe8019',
|
bg = orange,
|
||||||
},
|
},
|
||||||
cond = function() return vim.o.paste end
|
cond = function() return vim.o.paste end
|
||||||
},
|
},
|
||||||
|
@ -53,7 +56,7 @@ return {
|
||||||
return status
|
return status
|
||||||
end),
|
end),
|
||||||
color = {
|
color = {
|
||||||
fg = '#f9f5d7',
|
fg = bright,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
trailing_whitespace = {
|
trailing_whitespace = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue