From 272ec4292aa5c4d9e019fa2aad91c5597f849b14 Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 28 Aug 2023 17:26:18 +0200 Subject: Changed color for git active on current file/buffer --- lua/plugins/heirline.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lua/plugins/heirline.lua b/lua/plugins/heirline.lua index 5b63a4d..06867df 100644 --- a/lua/plugins/heirline.lua +++ b/lua/plugins/heirline.lua @@ -26,6 +26,7 @@ local colors = { info = utils.get_highlight('DiagnosticSignInfo').fg, }, git = { + active = '#f34f29', del = '#ff5555', add = '#50fa7b', change = '#ae81ff', @@ -275,10 +276,11 @@ local Git = { { -- git branch name provider = function(self) - return ' ' .. self.status_dict.head + --return ' ' .. self.status_dict.head + return '  ' .. self.status_dict.head end, --hl = { bold = true }, - hl = { fg = colors.orange, bold = true, bg = colors.bg }, + hl = { fg = colors.git.active, bold = true, bg = colors.bg }, }, -- You could handle delimiters, icons and counts similar to Diagnostics { @@ -286,7 +288,7 @@ local Git = { return self.has_changes end, --provider = "(" - provider = ' ', + provider = '', }, { provider = function(self) -- cgit v1.2.3