1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 04:10:06 +08:00

fix(projectmanager): invalid order function

This commit is contained in:
Jacopo Secchiero 2023-05-21 11:49:03 +02:00 committed by GitHub
parent cdc4762c48
commit fdd617e2a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@ local function compare(d1, d2)
-- the project_rooter_outermost is 0/false or 1 true -- the project_rooter_outermost is 0/false or 1 true
if sp_opt.project_rooter_outermost == 0 if sp_opt.project_rooter_outermost == 0
or sp_opt.project_rooter_outermost == false then or sp_opt.project_rooter_outermost == false then
if bl > al then if bl >= al then
return false return false
else else
return true return true