Merge pull request #1010 from Guldoman/PR_improve_multiproject_treeview

`TreeView` improvements for multi-project
This commit is contained in:
Jefferson González authored and GitHub committed 2022-06-07 18:24:54 -04:00
commit 2fc20330a3
3 files changed
+144 -47

No files matched your search

+1 -1
View File
@@ -605,7 +605,7 @@ end
-- This function should get only filenames normalized using
-- common.normalize_path function.
function core.project_absolute_path(filename)
if filename:match('^%a:\\') or filename:find('/', 1, true) == 1 then
if common.is_absolute_path(filename) then
return common.normalize_path(filename)
elseif not core.project_dir then
local cwd = system.absolute_path(".")