Fix Check Git Workspace Condition

This commit is contained in:
kingavatar 2021-06-29 10:50:37 +05:30
parent 69e790eeb3
commit 4159c5370f
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ gls.right[2] = {
provider = function()
return ""
end,
condition = require("galaxyline.provider_vcs").check_git_workspace,
condition = require("galaxyline.condition").check_git_workspace,
highlight = {colors.grey_fg2, colors.lightbg},
separator = "",
separator_highlight = {colors.lightbg, colors.statusline_bg}
@ -137,7 +137,7 @@ gls.right[2] = {
gls.right[3] = {
GitBranch = {
provider = "GitBranch",
condition = require("galaxyline.provider_vcs").check_git_workspace,
condition = require("galaxyline.condition").check_git_workspace,
highlight = {colors.grey_fg2, colors.lightbg}
}
}