summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Chiarulli <[email protected]>2022-11-04 13:43:30 -0400
committerChristian Chiarulli <[email protected]>2022-11-04 13:43:30 -0400
commit57c159fe3c4aec49aeb5a4df78275e7092fc21fa (patch)
tree3392a62778e4a4d9fdc2c18c8a47043a4260a778
parentbe9ea09df1491001fd74d5c12b5b8f3286d9de55 (diff)
feat: only use orange branch for lunar colorscheme
-rw-r--r--lua/lvim/core/lualine/components.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/lua/lvim/core/lualine/components.lua b/lua/lvim/core/lualine/components.lua
index a7934a38..033db1e0 100644
--- a/lua/lvim/core/lualine/components.lua
+++ b/lua/lvim/core/lualine/components.lua
@@ -12,7 +12,11 @@ local function diff_source()
end
end
-local branch = "%#SLGitIcon#" .. lvim.icons.git.Branch .. "%*" .. "%#SLBranchName#"
+local branch = lvim.icons.git.Branch
+
+if lvim.colorscheme == "lunar" then
+ branch = "%#SLGitIcon#" .. lvim.icons.git.Branch .. "%*" .. "%#SLBranchName#"
+end
return {
mode = {