浏览代码

chore: don't override colors for location

Christian Chiarulli 2 年之前
父节点
当前提交
be9ea09df1
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      lua/lvim/core/lualine/components.lua

+ 1 - 2
lua/lvim/core/lualine/components.lua

@@ -12,7 +12,6 @@ local function diff_source()
   end
 end
 
-local location_color = "SLBranchName"
 local branch = "%#SLGitIcon#" .. lvim.icons.git.Branch .. "%*" .. "%#SLBranchName#"
 
 return {
@@ -137,7 +136,7 @@ return {
     color = { gui = "bold" },
     cond = conditions.hide_in_width,
   },
-  location = { "location", color = location_color },
+  location = { "location" },
   progress = {
     "progress",
     fmt = function()