aboutsummaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorsrdusr <trevorgray@srdusr.com>2023-08-28 17:26:18 +0200
committersrdusr <trevorgray@srdusr.com>2023-08-28 17:26:18 +0200
commit272ec4292aa5c4d9e019fa2aad91c5597f849b14 (patch)
tree25cf33def8460ed329f0bc859ffcdd62bf2801a1 /lua/plugins
parent458d56ef36a9fefbacd9307175959100021c5a74 (diff)
downloaddotfiles-272ec4292aa5c4d9e019fa2aad91c5597f849b14.tar.gz
dotfiles-272ec4292aa5c4d9e019fa2aad91c5597f849b14.zip
Changed color for git active on current file/buffer
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/heirline.lua8
1 files 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)