Chris 4 سال پیش
والد
کامیت
2ca785c7fb
1فایلهای تغییر یافته به همراه9 افزوده شده و 1 حذف شده
  1. 9 1
      lua/nvcodeline.lua

+ 9 - 1
lua/nvcodeline.lua

@@ -113,6 +113,8 @@ gls.left[3] = {
 gls.left[4] = {
   GitBranch = {
     provider = 'GitBranch',
+    separator = ' ',
+    separator_highlight = {colors.purple,colors.bg},
     condition = buffer_not_empty,
     highlight = {colors.grey,colors.bg},
   }
@@ -130,7 +132,9 @@ gls.left[5] = {
   DiffAdd = {
     provider = 'DiffAdd',
     condition = checkwidth,
-    icon = '   ',
+    -- separator = ' ',
+    -- separator_highlight = {colors.purple,colors.bg},
+    icon = '  ',
     highlight = {colors.green,colors.bg},
   }
 }
@@ -138,6 +142,8 @@ gls.left[6] = {
   DiffModified = {
     provider = 'DiffModified',
     condition = checkwidth,
+    -- separator = ' ',
+    -- separator_highlight = {colors.purple,colors.bg},
     icon = '  ',
     highlight = {colors.blue,colors.bg},
   }
@@ -146,6 +152,8 @@ gls.left[7] = {
   DiffRemove = {
     provider = 'DiffRemove',
     condition = checkwidth,
+    -- separator = ' ',
+    -- separator_highlight = {colors.purple,colors.bg},
     icon = '  ',
     highlight = {colors.red,colors.bg},
   }