mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 11:50:05 +08:00
only check option at the top level
This commit is contained in:
parent
6210afd2f1
commit
c5205aa192
@ -87,7 +87,7 @@ function! SpaceVim#plugins#projectmanager#current_root() abort
|
||||
endif
|
||||
call setbufvar('%', 'rootDir', rootdir)
|
||||
endif
|
||||
if !empty(rootdir) && g:spacevim_project_rooter_automatically
|
||||
if !empty(rootdir)
|
||||
call s:change_dir(rootdir)
|
||||
call SpaceVim#plugins#projectmanager#RootchandgeCallback()
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user