FIX: fixed lua to not use global function but local to stop nil error

This commit is contained in:
DarthMooMancer
2025-05-07 11:31:49 -04:00
parent 20a375aaf5
commit 15913c75b7
3 changed files with 4 additions and 13 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ function M.run()
---@return string
local function get_project_name()
return vim.fn.glob((M.get_project_root() or "") .. "/*.polydev"):match("([^/]+)%.polydev$")
return vim.fn.glob((get_project_root() or "") .. "/*.polydev"):match("([^/]+)%.polydev$")
end
---@return string