1
0
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:
wsdjeg 2022-10-27 09:13:42 +08:00
parent ed17f52bbb
commit d64f1f1ba9

View File

@ -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))