Merge pull request #104 from kingavatar/main

Fix Check Git Workspace Condition
This commit is contained in:
siduck76 2021-06-29 11:03:59 +05:30 committed by GitHub
commit 97370f36ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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}
}
}