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:
parent
cdc4762c48
commit
fdd617e2a3
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user