|
|
@ -45,14 +45,21 @@ require('lualine').setup({
|
|
|
|
-- Credit to the original author of cokeline for creating most of this config
|
|
|
|
-- Credit to the original author of cokeline for creating most of this config
|
|
|
|
require('cokeline').setup({
|
|
|
|
require('cokeline').setup({
|
|
|
|
default_hl = {
|
|
|
|
default_hl = {
|
|
|
|
focused = {
|
|
|
|
--[[focused = {
|
|
|
|
fg = get_hex('Normal', 'fg'),
|
|
|
|
fg = get_hex('Normal', 'fg'),
|
|
|
|
bg = get_hex('Background', 'bg'),
|
|
|
|
bg = get_hex('Background', 'bg'),
|
|
|
|
},
|
|
|
|
},
|
|
|
|
unfocused = {
|
|
|
|
unfocused = {
|
|
|
|
fg = get_hex('Comment', 'fg'),
|
|
|
|
fg = get_hex('Comment', 'fg'),
|
|
|
|
bg = get_hex('Background', 'bg'),
|
|
|
|
bg = get_hex('Background', 'bg'),
|
|
|
|
},
|
|
|
|
},--]]
|
|
|
|
|
|
|
|
fg = function (buffer)
|
|
|
|
|
|
|
|
if buffer.is_focused then
|
|
|
|
|
|
|
|
return get_hex('Normal', 'fg')
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
return get_hex('Comment', 'fg')
|
|
|
|
|
|
|
|
end,
|
|
|
|
|
|
|
|
bg = function(_) return get_hex('Background', 'bg') end
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
components = {
|
|
|
|
components = {
|
|
|
|