Update lua.lua

This commit is contained in:
DarthMooMancer
2025-03-14 01:39:52 -04:00
parent fef92aa67b
commit c09c4f3f5f
+1 -1
View File
@@ -25,7 +25,7 @@ M.config = {
-- Function to get the project root directory -- Function to get the project root directory
function M.get_project_root() function M.get_project_root()
-- Find the .polydev file in the current directory or any parent directories -- 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 -- Search upwards for the .polydev file
local polydev_file = vim.fn.findfile(".polydev", current_dir .. ";") local polydev_file = vim.fn.findfile(".polydev", current_dir .. ";")