This commit is contained in:
DarthMooMancer
2025-09-04 21:07:31 -04:00
4 changed files with 191 additions and 174 deletions
+4
View File
@@ -5,6 +5,10 @@ function M.setup(opts)
M.opts = vim.tbl_deep_extend("force", {}, require("Polydev.configs").get("terminal"), opts or {})
end
function M.exists(path)
return (io.open(path,"r") ~= nil)
end
---@return string
function M.get_project_root()
local plugin_dir = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":h:h:h")