From c09c4f3f5f88527e92423fe00fe330214e2275b6 Mon Sep 17 00:00:00 2001 From: DarthMooMancer <107283522+DarthMooMancer@users.noreply.github.com> Date: Fri, 14 Mar 2025 01:39:52 -0400 Subject: [PATCH] Update lua.lua --- lua/Polydev/lua.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/Polydev/lua.lua b/lua/Polydev/lua.lua index 1a47d07..428242b 100644 --- a/lua/Polydev/lua.lua +++ b/lua/Polydev/lua.lua @@ -25,7 +25,7 @@ M.config = { -- Function to get the project root directory function M.get_project_root() -- Find the .polydev file in the current directory or any parent directories - local current_dir = vim.fn.expand('%:p:h') -- Get current file's directory + local current_dir = M.get_project_root() -- Get current file's directory -- Search upwards for the .polydev file local polydev_file = vim.fn.findfile(".polydev", current_dir .. ";")