mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
fix(projectmanager): use absolute path
This commit is contained in:
parent
ed17f52bbb
commit
d64f1f1ba9
@ -174,6 +174,7 @@ local function find_root_directory()
|
||||
logger.debug('bufname is empty, use current directory instead!')
|
||||
fd = fn.getcwd()
|
||||
end
|
||||
fd = fn.fnamemodify(fd, ':p')
|
||||
logger.debug('start to find root for: ' .. fd)
|
||||
local dirs = {}
|
||||
logger.debug('searching rooter_patterns:' .. vim.inspect(project_rooter_patterns))
|
||||
|
Loading…
Reference in New Issue
Block a user