vim: make lualine configuration independent of fs.util
This commit is contained in:
parent
c764d61737
commit
2d62bd0b6e
1 changed files with 1 additions and 7 deletions
|
@ -56,7 +56,6 @@ end
|
||||||
local window_is_wide = window_is_at_least(80)
|
local window_is_wide = window_is_at_least(80)
|
||||||
local window_is_medium = window_is_at_least(50)
|
local window_is_medium = window_is_at_least(50)
|
||||||
|
|
||||||
local C = require'fs.util'.colors()
|
|
||||||
local parts = {
|
local parts = {
|
||||||
split = { function() return '%=' end, padding = 0 },
|
split = { function() return '%=' end, padding = 0 },
|
||||||
|
|
||||||
|
@ -67,7 +66,7 @@ local parts = {
|
||||||
|
|
||||||
paste = {
|
paste = {
|
||||||
function() return '' end,
|
function() return '' end,
|
||||||
color = { fg = C.base03, bg = C.yellow, gui = 'bold' },
|
color = { bg = '#bbaa00' },
|
||||||
cond = function()
|
cond = function()
|
||||||
return vim.opt.paste:get()
|
return vim.opt.paste:get()
|
||||||
end
|
end
|
||||||
|
@ -87,11 +86,6 @@ local parts = {
|
||||||
|
|
||||||
diff = {
|
diff = {
|
||||||
diff,
|
diff,
|
||||||
diff_color = {
|
|
||||||
added = { fg = C.green },
|
|
||||||
modified = { fg = C.yellow },
|
|
||||||
removed = { fg = C.orange },
|
|
||||||
},
|
|
||||||
padding = 0,
|
padding = 0,
|
||||||
cond = window_is_wide,
|
cond = window_is_wide,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue