mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:10:04 +08:00
fix(projectmanager): change rootdir when switch project
This commit is contained in:
parent
d64f1f1ba9
commit
083a5a2cbb
@ -407,6 +407,8 @@ function M.current_root()
|
||||
end
|
||||
end
|
||||
fn.setbufvar('%', 'rootDir', rootdir)
|
||||
elseif change_dir(rootdir) then
|
||||
M.RootchandgeCallback()
|
||||
end
|
||||
return rootdir
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user