This commit is contained in:
DarthMooMancer
2025-08-22 19:30:24 -04:00
parent 66ae61f2c9
commit 0cc4374865
2 changed files with 158 additions and 150 deletions
+6 -1
View File
@@ -1,10 +1,15 @@
local M = {}
M.opts = {}
function M.setup(opts)
M.opts = vim.tbl_deep_extend("force", {}, require("Polydev.configs").get("terminal"), opts or {})
end
function 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")